Toggle navigation
Toggle navigation
This project
Loading...
Sign in
노강호
/
assignment4_2
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
Authored by
노강호
2021-03-26 12:41:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
99fdd823cf7ea38ae8913c43503d9666e660ae45
99fdd823
1 parent
14b4dc41
add exit function
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
echo.py
echo.py
View file @
99fdd82
def
main
():
print
(
"Type
\"
exit
\"
to exit program"
)
while
(
1
):
inp
=
input
()
if
(
inp
==
"exit"
):
break
print
(
inp
)
...
...
Please
register
or
login
to post a comment