|
|
- #!/usr/bin/env python3
- #title :4-5.py
- #description :Opdracht 4.5 - For, If & numbers
- #author :Marcel Haazen
- #email :marcel@haazen.xyz
- #date :21-09-2019 - 23:30
- #version :0.1
- #usage :python3 4-5.py
- #notes :
- #python_version :3.7.4
- #==============================================================================
- numbers = [1,2,3,4,5,6,7,8,9,10]
-
- for number in numbers:
- if number % 2 == 0:
- print(number)
|