News

#2 create two lists to store all even and odd numbers from 1 to 20 individually even = [] # create a list for even numbers odd = [] # create a list for odd numbers for k in range(1, 21): if k%2 == 0: ...
For loops are a bit of a nuisance in Python. My other, and bigger problems with Python is the horrible significance of using indentation to create loops, and that variables get added mysteriously ...