You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
475 B

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