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-04-01 04:30:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4ee13fe15c0bd2c13a0231be684a15b63bc99708
4ee13fe1
1 parent
cba2ab9d
exit program
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
exit.py
exit.py
0 → 100644
View file @
4ee13fe
import
os
while
(
1
):
x
=
input
(
"If you enter 'exit', the program will exit "
)
if
(
x
==
'exit'
):
os
.
_exit
(
1
)
Please
register
or
login
to post a comment