이선호

ExitB

Showing 1 changed file with 7 additions and 0 deletions
import os
import sys
a = input("프로그램 종료를 원하시면 Exit를 입력하시오 : ")
if (a == "Exit" or a == "exit"):
sys.exit("프로그램이 종료됩니다.")
else:
os.system("Pause")