Commit b68daa6f by BellCodeEditor

save project

parent 9dfa9578
Showing with 11 additions and 0 deletions
dict={"雄安":78,"第一":100,"佳宇與":68,"武漢":79}
k=input("你叫什麽名字啊?")
v=input("你的成績是多少啊?")
if k in dict:
if int(v)>dict[k]:
print("恭喜你,"+k+"同學!你的成績已更新為:"+v)
else:
print("很遺憾,您的成績未能更改,再接再厲!")
else:
print(k+"您未進入排行榜,已將您的成績:"+v+"加入表格")
\ 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