lpy icon indicating copy to clipboard operation
lpy copied to clipboard

Evaluate doesn't work for statement that needs user input

Open QiangF opened this issue 2 years ago • 0 comments

For example:

while True:
    try:
        n = input("Please enter an integer: ")
        n = int(n)
        break
    except ValueError:
        print("No valid integer! Please try again ...")
print("Great, you successfully entered an integer!")

The desired behavior is to switch to the python process buffer and wait for user input

QiangF avatar Mar 09 '22 02:03 QiangF