exit.py 124 Bytes Raw Blame History Permalink 1 2 3 4 5 while(True): print("If you enter 'exit', the program will exit") word = input() if word=="exit": exit()