Toggle navigation
Toggle navigation
This project
Loading...
Sign in
엄기훈
/
assignment2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Gihoon Eom
2020-04-03 14:16:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ab81b53e1dc81af2b1b6b682cc827b584d5a4f55
ab81b53e
1 parent
dc63c01e
exit feature added
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
echo.py
echo.py
View file @
ab81b53
1
-
print
(
input
(
"input: "
))
...
\ No newline at end of file
...
\ No newline at end of file
1
+
userInput
=
input
(
"input: "
)
2
+
if
userInput
.
lower
()
==
"exit"
:
3
+
print
(
"Exiting the program"
)
4
+
else
:
5
+
print
(
userInput
)
...
\ No newline at end of file
...
\ No newline at end of file
...
...
Please
register
or
login
to post a comment