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
EunJi
2021-09-29 14:04:07 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
84631a5aa0dec8d94e7901d03b762bd4bc7f6bbd
84631a5a
1 parent
c13bb3ef
Add exit function
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
echo_program.py
echo_program.py
View file @
84631a5
1
while
1
:
1
while
1
:
2
-
a
=
input
(
"Enter: "
)
2
+
a
=
input
(
"User Input (enter 'exit' to quit): "
)
3
+
if
(
a
==
'exit'
):
4
+
break
;
3
print
(
"User's Input: "
+
a
)
5
print
(
"User's Input: "
+
a
)
...
...
Please
register
or
login
to post a comment