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
김동진
2020-09-25 14:58:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e0fabaa254177188c607d2f3cec505ddc42c671
0e0fabaa
1 parent
cdd1a9ab
echo + exit
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
echo.py
echo.py
View file @
0e0faba
1
-
x
=
input
(
"입력 : "
)
1
+
x
=
input
(
"입력(exit 을 입력하면 프로그램이 종료합니다.) : "
)
2
+
if
x
==
"exit"
:
3
+
import
sys
4
+
print
(
"exit 입력으로 인해 프로그램을 종료합니다."
)
5
+
sys
.
exit
()
2
print
(
x
)
6
print
(
x
)
...
...
Please
register
or
login
to post a comment