Seungmi Shin

exit program

Showing 1 changed file with 8 additions and 0 deletions
1 +def exitfunc():
2 + com = input("If you enter 'exit', the program will exit: ")
3 + if(com == 'exit'):
4 + return
5 + print("If you enter 'exit', the program will exit ")
6 + return
7 +
8 + exitfunc()
...\ No newline at end of file ...\ No newline at end of file