Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wlstp8473
/
assignment2
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
wlstp8473
2021-04-01 02:29:46 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
293e1ce477c3071b1d19a7715b0cc5f98782fddc
293e1ce4
1 parent
29596707
echoexitprogram
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
echoprogram.py
echoprogram.py
View file @
293e1ce
#echo program
def
echoexit
(
userinput
):
if
(
userinput
==
"exit"
):
exit
()
result
=
print
(
userinput
)
return
result
userinput
=
input
(
""
)
prin
t
(
userinput
)
result
=
echoexi
t
(
userinput
)
...
...
Please
register
or
login
to post a comment