정혜인

exit program

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