repl process died unexpectedly
could someone help with this error msg? TIA
print('Type exit to exit.')
response = input()
if response == 'exit':
print('You typed ' + response + '.')
first of all that isnt an error message. It just says that because you told the repl to quit with
sys.exit() which means the program exits. If you dont want this, since this is a
while True statement, instead of
break which will do the same.
Happy coding and hope this helps! =)
Like the others said, that isn't an error messages. That just means the repl process died before it thought it was supposed to. It does that to me pretty much any time I use a sys.exit() command.