Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이해님
/
gitbranch-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
haenim
2020-09-25 17:16:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3fe060fd331b880acab853fb026c86469440414f
3fe060fd
1 parent
4f8ecb58
add exit function
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
echo.py
echo.py
View file @
3fe060f
1
def
echo
():
1
def
echo
():
2
-
i
=
input
(
"입력해주세요: "
)
2
+
user
=
input
(
"입력해주세요: "
)
3
-
print
(
i
)
3
+
print
(
user
)
4
4
5
-
echo
()
6
5
6
+
#echo()
7
+
8
+
def
exit
():
9
+
user
=
input
(
"입력해주세요: "
)
10
+
if
user
==
"exit"
:
11
+
return
;
12
+
13
+
else
:
14
+
print
(
user
)
15
+
16
+
exit
()
...
...
Please
register
or
login
to post a comment