Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок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!
2 ответов
+ 6
use input()
+ 1
I was already using input() and it wasn't working but I figured it out. Thanks for replying!! :)