정혜인

exit program

Showing 1 changed file with 6 additions and 0 deletions
import os
while(1):
x = input("If you enter 'exit', the program will exit ")
if (x == 'exit'):
os._exit(1)