Answer the question
In order to leave comments, you need to log in
How to increase the number of circles during the cycle?
I need to loop, but I don't know the exact number of laps. How to make a loop that will increase the number of circles in the loop itself, but with a limit?
Now my code looks like this:
c = 0
nado = 54
for c in range(nado):
wres = res + '&offset=' + str(offset)
print(wres)
offset += 1
nado += 1
if (nado == countm):
exit()
Answer the question
In order to leave comments, you need to log in
If the limit is greater than nado, then use the while loop, otherwise do break, not exit. Well, offset and nado, in fact the same thing, you can get by with one variable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question