박찬수

Add Exit Function

Showing 1 changed file with 5 additions and 1 deletions
1 def Echo(): 1 def Echo():
2 msg = input() 2 msg = input()
3 - print(msg) 3 +
4 + if(msg == "exit"):
5 + quit()
6 + else:
7 + print(msg)
4 8
5 Echo() 9 Echo()
...\ No newline at end of file ...\ No newline at end of file
......