Commit 9bcb3f05 by BellCodeEditor

save project

parent b9152322
Showing with 11 additions and 0 deletions
dict= {'小明':82,'小明':79,'饽饽':49,'老水':57}
k=input("你的姓名是什么?")
v=input("你的成绩是什么?")
if k in dict:
if int(v)>dict[k]:
print("恭喜你!你的成绩被刷新了!")
else:
print("对不起!您的成绩未被刷新!")
else:
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