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