1variable = 'thing'
2for i in range(50):
3 print(variable)
4
5# or you can do something like this
6for i in range(50, 2):
7 print(variable)
8
9# and a while loop repeats forever
10while True:
11 print(variable)
12
13# a while loop also works like this
14runcheck = True
15while runcheck:
16 for i in range(10):
17 print(variable)
18 runcheck = False