Practice · 1 of 3
Even Stream
CHALLENGE
Difficulty: intermediate+25 XP
Implement evens(limit) as a generator function yielding even numbers from 0 up to and including limit (if it is even).
Press Submit to check your solution.
Back to lesson: Practice: Generator Drills