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
CodingRobot12

It isn't an error message. This is supposed to appear whenever you write the command sys.exit()