Jan-13-2024, 09:24 PM
How to receive input on the same line, without clearing the rest of the terminal?
The following prints a new "Enter" line for every bad entry.
The following prints a new "Enter" line for every bad entry.
while not entry in menu: entry = input('Enter: ')