Exercise: Even Numbers (while)

  1. Write a program that outputs all even numbers from 0 (inclusive) up to a user-supplied upper bound (exclusive).

    Use a while loop!

$ python even.py 10
2
4
6
8