Exercise: Yield only even numbers

Combine yield with an if check. Inside the loop, only yield n when it's even.
Python
Setting up Python environment...
Output