Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이선호
/
Assignment2_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:47:08 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ea0fb5bb0850fa8b1807c359df0f2995550c5b9
0ea0fb5b
1 parent
5c88b996
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 @
0ea0fb5
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"
)
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment