Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이혜인
/
branch_practice2
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
이혜인
2022-03-30 11:22:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f2d78f24a4e8ddffcf9be437bc70ca2728e071c0
f2d78f24
1 parent
358f145d
exit function
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
exit.py
exit.py
0 → 100644
View file @
f2d78f2
1
+
def
Exit
(
data
):
2
+
if
(
data
==
"exit"
):
3
+
quit
()
4
+
5
+
while
(
True
):
6
+
data
=
input
(
"enter the data:
\n
"
)
7
+
Exit
(
data
)
8
+
print
(
data
)
Please
register
or
login
to post a comment