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?

4th Jul 2020, 9:22 AM
Mai Porat
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.........
4th Jul 2020, 9:49 AM
Arctic Fox
Arctic Fox - avatar
0
I knew it, I know python "a little bit". my question is how to add a infinite thread in the background.
4th Jul 2020, 10:12 AM
Mai Porat