exit.py 218 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 def exit(): while True: a = input("exit 입력시 종료합니다: ") if a == "exit": print("프로그램 종료합니다.") return else: print(a) exit()