Commit eb796134 by BellCodeEditor

auto save

parent 502609b5
Showing with 12 additions and 0 deletions
a={"不乐":3,"雷碧":3,"忘仔牛奶":4}
k=input("请输入你的姓名?")
v=input("请输入你的成绩?")
if k in a:
if int(v)>a[k]:
a[k]=int(v)
print("您好,您的成绩已经更新为"+v)
else:
print("成绩未更新,菜就多练")
else:
print("抱歉,这里没有"+k)
\ 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