You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unmodified session - the three numbers and then empty line are what I typed into stdin:
Python interactive window. Type $help for a list of commands.
>>> x = 5
>>> while x > 0:
... x = int(input('Give a number'))
...
Give a numberGive a numberGive a numberGive a numberTraceback (most recent call last):
File "<stdin>", line 2, in <module>
ValueError: invalid literal for int() with base 10: ''
1
2
3
>>>
I'd expect stdin and stdout/stderr to be intermingled properly.
The text was updated successfully, but these errors were encountered:
Unmodified session - the three numbers and then empty line are what I typed into stdin:
I'd expect stdin and stdout/stderr to be intermingled properly.
The text was updated successfully, but these errors were encountered: