Commit f8aa10db by BellCodeEditor

save project

parent 5d5c7b03
Showing with 14 additions and 0 deletions
score={"小敏":12}
d=input("输入姓名")
i=int(input("输入成绩"))
if d in score:
if i>score[d]:
score[d]=i
print("最新成绩:"+str(score[d]))
else:
print("最新成绩:"+str(score[d]))
else:
score[d]=i
print("已输入首次成绩")
print("最新成绩:"+str(score[d]))
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