• This project
    • Loading...
  • Sign in

노강호 / assignment4_2

%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
  • assignment4_2
  • echo.py
  • 노강호's avatar
    add exit function · 99fdd823
    99fdd823
    노강호 authored 2021-03-26 12:41:39 +0900
echo.py 164 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10
def main():
    print("Type \"exit\" to exit program")
    while(1):
        inp = input()
        if(inp == "exit"):
            break
        print(inp)


main()