Toggle navigation
Toggle navigation
This project
Loading...
Sign in
graykode
/
09252020B
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
graykode
2020-09-25 10:52:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0e8777b2357b9782b13fb94f7ece8d4f7358d04b
0e8777b2
0 parents
(add) exit code
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
exit.py
exit.py
0 → 100644
View file @
0e8777b
1
+
import
sys
2
+
3
+
while
True
:
4
+
s
=
input
()
5
+
if
s
==
"exit"
:
6
+
sys
.
exit
()
Please
register
or
login
to post a comment