1#x starts at 1 and goes up to 80 @ intervals of 2
2for x in range(1, 80, 2):
3 print(x)
1#an object to iterate over
2items = ["Item1", "Item2", "Item3", "Item4"]
3
4#for loop using range
5for i in range(len(items)):
6 print(items[i])
7
8#for loop w/o using range
9for item in items:
10 print(item)
1loop = True #make variable loop
2while loop: #makes the loop
3 print('Loop Worked')#this is your script for the loop