I know you can just do this (technically):
import time
variable = 0
while variable < 99999999999999999999999999999999999999
variable = variable + 1
time.sleep(1)
But is there just a way to make an infinite loop without typing all those 9's? (idk if this makes sense but I'm sure you get what I mean)
while True:?1 == 1will always be true.Truewill always be true. Etc. Yourvariable < 99999999999999999999999999999999999999condition will also always be true if you don't incrementvariable99999999999999999999999999999999999999 times.forloop, you just need an infinite iterable. There are a few of those in the Python standard library, likeitertools.count, which counts up like thevariablein your question:for variable in itertools.count():will count up forever, just in case you actually need that.iter(int, 1).