Skip to content
Sign upLog in
← Back to Community

my loop is stuck

Profile icon
ArtyEevee

Hey guys,
In this program, I made an infinite print loop. I would like there to be a way to break out of the loop after a few seconds... Is this possible? If so, please tell me! Thanks,
ArtyEevee :D

Answered by lsikora [earned 5 cycles]
View Answer
Voters
Profile icon
rickysong
Profile icon
lsikora
Profile icon
ArtyEevee
Comments
hotnewtop
Profile icon
lsikora

Reload the page and the program should stop. If you want to make a loop which stops after a certain number of times run, then just don't use a infinite loop. Instead specify how much times you want the program to run. Its simple.

Profile icon
ArtyEevee

@CodeMaster007
ohhhhhh i didnt think of that! tysm! ill just put a hundred billion XD

Profile icon
lsikora

Np, happy to help!

@ArtyEevee

Profile icon
ArtyEevee

@CodeMaster007
Do u wanna join my team? u have some python stuff

Profile icon
lsikora

No, sorry. I just started school again and have homework/tests but if you need help with anything, you can post another question and i'll be glad to answer it for you. :)

@ArtyEevee

Profile icon
PaulaDWong

You made a very nice post about my loop is stuck and it is good for the people who want to find the detail. When I used the best essay writing service I saw a lot of people who want to find the latest updates about these loops.

Profile icon
ArtyEevee