Toggle navigation
Toggle navigation
This project
Loading...
Sign in
양주미
/
assignment2
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
Jumi Yang
2022-04-01 03:11:25 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f295f7af48fc81a65ee1699f87f6adee90f3ba47
f295f7af
1 parent
745b4521
add exit program
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
exit.ipynb
exit.ipynb
0 → 100644
View file @
f295f7a
{
"cells"
:
[
{
"cell_type"
:
"code"
,
"execution_count"
:
1
,
"metadata"
:
{},
"outputs"
:
[
{
"name"
:
"stdout"
,
"output_type"
:
"stream"
,
"text"
:
[
"'exit' 입력시 프로그램이 종료됩니다.exit
\n
"
]
}
],
"source"
:
[
"x = input(
\"
'exit' 입력시 프로그램이 종료됩니다.
\"
)
\n
"
,
"
\n
"
,
"if x == 'exit':
\n
"
,
" exit()"
]
}
],
"metadata"
:
{
"kernelspec"
:
{
"display_name"
:
"Python 3"
,
"language"
:
"python"
,
"name"
:
"python3"
},
"language_info"
:
{
"codemirror_mode"
:
{
"name"
:
"ipython"
,
"version"
:
3
},
"file_extension"
:
".py"
,
"mimetype"
:
"text/x-python"
,
"name"
:
"python"
,
"nbconvert_exporter"
:
"python"
,
"pygments_lexer"
:
"ipython3"
,
"version"
:
"3.8.3"
}
},
"nbformat"
:
4
,
"nbformat_minor"
:
4
}
Please
register
or
login
to post a comment