echo.py 257 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 def exitPG(user_echo): if user_echo == "exit": return True else: return False user_echo = input() if exitPG(user_echo) == False: print(user_echo) elif exitPG(user_echo) == True: print("프로그램을 종료합니다.")