• This project
    • Loading...
  • Sign in

DongyoungKwon / branch_assignment1

%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
  • branch_assignment1
  • Echo.py
  • DongyoungKwon's avatar
    Add Exit function · 07a7f8ed
    07a7f8ed Browse Files
    DongyoungKwon authored 2020-09-25 23:36:56 +0900
Echo.py 155 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
def Exit(i):
    if ( i == "exit"):
        return True
    else:
        return False

i = input("input >>")
if (Exit(i)):
    exit(0)
else:
    print(i)