Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이혜인
/
branch_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
이혜인
2022-03-30 01:31:16 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ac4c360ece49215650a8cf384904a63ddf98011a
ac4c360e
1 parent
23daf6c0
adding exit func
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
echo_program.py
echo_program.py
View file @
ac4c360
1
+
def
Exit
(
data
):
2
+
if
(
data
==
"exit"
):
3
+
quit
()
4
+
1
while
(
True
):
5
while
(
True
):
2
data
=
input
(
"enter the data:
\n
"
)
6
data
=
input
(
"enter the data:
\n
"
)
7
+
Exit
(
data
)
3
print
(
data
)
8
print
(
data
)
...
...
Please
register
or
login
to post a comment