您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

16 行
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)