0

How do I rest user input?

For instance I ask the user to select an option in menu and they select "a". That option asked them to input something and they input "hello". They go back to the menu and select "a" again but the input is already assigned to "hello". How do I delete the "hello" and reuse the input function? Any help would be great thanks!

8th Oct 2020, 11:40 PM
Noob-San
Noob-San - avatar
2 Antworten
+ 6
use input()
9th Oct 2020, 12:43 AM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 1
I was already using input() and it wasn't working but I figured it out. Thanks for replying!! :)
17th Oct 2020, 10:59 PM
Noob-San
Noob-San - avatar