Commit c6858c30 by BellCodeEditor

save project

parent e4d54139
Showing with 11 additions and 5 deletions
dict={"可口可乐":3,"汉堡":6,"缺牙齿":1}
k=input("你想要什么")
if k in dict:
print("你要的"+k+"是"+str(dict[k])+"元")
name={"桑雅":98,"李铭":100,"焦宇":93}
k=input("你叫啥")
v=input("你的成绩")
if k in name:
if int(v)>name[k]:
name[k]=int(v)
print(k+"新成绩刷新"+"是"+v)
else:
print("成绩不刷新")
else:
print("抱歉缺货")
name[k]=int(v)
print("新成绩已上传")
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