Toggle navigation
Toggle navigation
This project
Loading...
Sign in
정혜인
/
project3
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-31 23:40:09 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a9ffa21f6928e9c5216d07960cfed06fe43d4439
a9ffa21f
1 parent
19b45410
exit program
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
exit.py
exit.py
0 → 100644
View file @
a9ffa21
1
+
import
os
2
+
3
+
while
(
1
):
4
+
x
=
input
(
"If you enter 'exit', the program will exit "
)
5
+
if
(
x
==
'exit'
):
6
+
os
.
_exit
(
1
)
7
+
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment