py6.1

# Oefening 1

for i in range(3,8):
  print(i)

Download hier het bestand.
# Oefening 2

getallen = [8, 13, 16]
for getal in getallen:
  print(getal)

Download hier het bestand.
# Oefening 3

for i in range(8,3,-1):
  print(i)

Download hier het bestand.
# Oefening 4

for i in range(1,30):
  if(i%2 != 0):
    print(i)

Download hier het bestand.