• This project
    • Loading...
  • Sign in

배승호 / echoPG

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • echoPG
  • echo.py
  • devsho's avatar
    ver. exit · 149496ec
    149496ec
    devsho authored 2021-09-30 18:45:38 +0900
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("프로그램을 종료합니다.")