Practice ยท 3 of 3
Flatten One Level
Implement flatten_once(nested) yielding items of a list of lists, one level deep, using yield from.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Generator Drills
Practice ยท 3 of 3
Implement flatten_once(nested) yielding items of a list of lists, one level deep, using yield from.
Difficulty: intermediate
Back to lesson: Practice: Generator Drills