how to make a repeated loop in python
variable = 'thing'
for i in range(50):
print(variable)
# or you can do something like this
for i in range(50, 2):
print(variable)
# and a while loop repeats forever
while True:
print(variable)
# a while loop also works like this
runcheck = True
while runcheck:
for i in range(10):
print(variable)
runcheck = False