Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이선호
/
assign2_2
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
이선호
2021-09-28 20:52:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
02a0db658343da3e53f62dceb98f12651dfceb48
02a0db65
1 parent
96840b89
ExitB
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
exit.py
exit.py
0 → 100644
View file @
02a0db6
1
+
import
os
2
+
import
sys
3
+
a
=
input
(
"프로그램 종료를 원하시면 Exit를 입력하시오 : "
)
4
+
if
(
a
==
"Exit"
or
a
==
"exit"
):
5
+
sys
.
exit
(
"프로그램이 종료됩니다."
)
6
+
else
:
7
+
os
.
system
(
"Pause"
)
Please
register
or
login
to post a comment