.. ot-exercise:: python.exercises.herdt.while_even_numbers :dependencies: python.exercises.herdt.username_password, python.basics.python_0193_while, python.basics.python_0139_commandline_argv .. include:: Exercise: Even Numbers (``while``) ================================== #. Write a program that outputs all even numbers from 0 (inclusive) up to a user-supplied upper bound (exclusive). Use a ``while`` loop! .. code-block:: console $ python even.py 10 2 4 6 8 Dependencies ------------ .. ot-graph:: :entries: python.exercises.herdt.while_even_numbers