Commit 49d9e450 by BellCodeEditor

save project

parent 3b59f605
Showing with 12 additions and 0 deletions
scroe = {'小明':99}
a = input("请输入姓名")
b = input("请输入成绩")
if a in scroe:
if int(b) > scroe[a]:
scroe[a] = b
print("成绩刷新")
else:
print("成绩不变")
else:
scroe[a] = b
print("成绩以上传")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment