Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson8-5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e6d3c611
authored
Apr 18, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c761dde6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
并于果肉很委屈几天吧文件啊地区你和我妇女节你发黄金储备和房价很高富家女金希澈及覅大街南侧哦i服务和v纳米愤怒v没答应,欧i对方浓密的人可能还要人家忒体能和家人.py
查询成绩.py
并于果肉很委屈几天吧文件啊地区你和我妇女节你发黄金储备和房价很高富家女金希澈及覅大街南侧哦i服务和v纳米愤怒v没答应,欧i对方浓密的人可能还要人家忒体能和家人.py
deleted
100644 → 0
View file @
c761dde6
cost
=
{
""
}
cost
=
{
""
}
\ No newline at end of file
查询成绩.py
0 → 100644
View file @
e6d3c611
cost
=
{
"小明"
:
58
,
"小刚"
:
90
,
"小李"
:
57
,
"小白"
:
85
,
"小燕"
:
13
}
cost
=
{
"小明"
:
58
,
"小刚"
:
90
,
"小李"
:
57
,
"小白"
:
85
,
"小燕"
:
13
}
k
=
input
(
"请输入你的名字"
)
v
=
input
(
"请输入你的成绩"
)
if
k
in
cost
:
if
int
(
v
)
>
cost
[
k
]:
cost
[
k
]
=
int
(
v
)
print
(
"成绩已更新"
)
else
:
cost
[
k
]
=
int
(
v
)
print
(
"成绩已经写入"
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment