jyun

Add exit file - B repo

Showing 1 changed file with 9 additions and 0 deletions
1 +import sys
2 +
3 +while(1):
4 + text = input("종료를 원하시면 exit을 입력해주세요 : ")
5 +
6 + if (text == "exit"):
7 + print("종료합니다");
8 + sys.exit()
9 +