0

How to repeat the program after using the while loop?

Using functions

17th May 2018, 5:36 PM
Tung Mun Wah
Tung Mun Wah - avatar
3 Answers
+ 2
Nest the while loop inside of another while loop. If you make the outer loop infinite, it'll continually loop through the program until whatever condition you create is true. Anyways, what language are you using and what exactly are you trying to achieve? Will be easier to help you with more information.
17th May 2018, 6:05 PM
Fata1 Err0r
Fata1 Err0r - avatar
0
Do you have an example?
17th May 2018, 5:38 PM
Marco Polidori
Marco Polidori - avatar
0
some example with while True: but need to be executed in IDLE to work properly https://code.sololearn.com/c75so7dtXiel/?ref=app
17th May 2018, 9:15 PM
Sasha Djekic