0

How to run a program continuously without restarting it?

28th Oct 2016, 5:51 AM
NinadK
6 Respuestas
+ 3
add while True:
1st Nov 2016, 3:08 PM
Rodrigo Tallar
Rodrigo Tallar - avatar
+ 2
what kind of program you are making?. probably it is a solution that you can make a boolean variable and initiate it as true and you can use while True: statement to continuously run it
28th Oct 2016, 6:44 AM
Iqbal Mohammad Rhidwan
Iqbal Mohammad Rhidwan - avatar
0
Google python loops and read how they work
28th Oct 2016, 8:32 AM
Linus Izthebest
Linus Izthebest - avatar
0
+1, and use operator "break" to stop run programm for example:
28th Oct 2016, 11:21 AM
Met174
0
Thank you guys!!
28th Oct 2016, 1:54 PM
NinadK
0
Use continue: your program will loop forever. But remember, whatever condition you give in the program must be True.
28th Oct 2016, 5:32 PM
Emmanuel Ross
Emmanuel Ross - avatar