0
How to create infinite running thread?
I want to create a method that runs infinetly at the background off my main loop. how can I do it?
2 Answers
0
while True:
print ("Hello world") # This will print Hello world infinite times..
But in sololearn playground, there comes a time when it will say"Execution timed out". Because it's not capable of running it infinite times because of it's light weight..
You can't do much things here. Instead you can download an IDE for that.........
0
I knew it, I know python "a little bit". my question is how to add a infinite thread in the background.