Skip to content
repl process died unexpectedly
Profile icon
shlobb13

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 + '.')

You are viewing a single comment. View All
Profile icon
CodeLongAndPros

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.