Commit 8480dea9 by BellCodeEditor

save project

parent 48274bf5
Showing with 12 additions and 0 deletions
score={"王刚":60,"何晶":70,"王知恒":100}
k=input("您的姓名是?")
v=input("您的最新成绩是?")
if k in score:
if int(v)>score[k]:
print("您的成绩已刷新为"+v)
else:
print("您的成绩未提升,加油")
else:
score[k]=int(v)
print("您的第一次成绩已上传")
\ No newline at end of file
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