Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이세진
/
echo-program
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:39:53 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c3bfc1dbfa08724beb17fcfa0faae61b3a4ddc5
8c3bfc1d
1 parent
b8e1fb02
exit function
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
echo.py
echo.py
View file @
8c3bfc1
def
exit
(
word
):
if
word
==
"exit"
:
isTrue
=
False
return
isTrue
else
:
return
True
def
echo
():
while
(
True
):
isTrue
=
True
while
isTrue
:
word
=
input
(
"Enter the word: "
)
isTrue
=
exit
(
word
)
print
(
word
)
return
...
...
Please
register
or
login
to post a comment