could someone help with this error msg? TIA
import sys
while True: print('Type exit to exit.') response = input() if response == 'exit': sys.exit() print('You typed ' + response + '.')
It's not an error, I believe that the exit code was given before it was expected, if you press C-d in the repl, it'll give that as well.
repl process died unexpectedly
could someone help with this error msg? TIA
import sys
while True:
print('Type exit to exit.')
response = input()
if response == 'exit':
sys.exit()
print('You typed ' + response + '.')
It's not an error, I believe that the exit code was given before it was expected, if you press C-d in the repl, it'll give that as well.