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.
 

16 lines
475 B

#!/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)