+ 1
How can I loop a program so that it requires user input until it types "Exit"? Please, i really need it
plzzzzz
4 Réponses
0
I don't know if this will help too much, but you can put your entire code in a while True: statement and set it so that when the user inputs "Exit", then the loop will stop.
Take this code for example:
https://code.sololearn.com/cnlX18mNFsVe/?ref=app
0
Thx for help <3
0
i think you need multithreading.
if you want print something while your program waiting for user input.
0
I'm still very poor in Python. Can you please tell me more? Thank you <3