Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍진섭
/
branchAssignment2
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-27 14:36:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4c6e48e98b363d4132ac61f1022959a6fd3d6716
4c6e48e9
1 parent
f9022715
add exit condition -- 20210327 1436
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
echo_py.py
echo_py.py
View file @
4c6e48e
while
True
:
print
(
"
\n
Entered sentence : "
+
input
(
"input any sentence : "
)
+
'
\n
'
)
sentence
=
input
(
"input any sentence (If you enter
\'
exit
\'
, the program will exit) : "
)
if
sentence
==
"exit"
:
break
print
(
"
\n
Entered sentence : "
+
sentence
+
'
\n
'
)
...
...
Please
register
or
login
to post a comment