exit.py 206 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 def exitfunc(): com = input("If you enter 'exit', the program will exit: ") if(com == 'exit'): return print("If you enter 'exit', the program will exit ") return exitfunc()