Commit af75c68e by BellCodeEditor

auto save

parent 9ba887e5
Showing with 15 additions and 0 deletions
zha={"糖糖":100,"马老师":90,"徐梓峰":45}
a=input("你叫什么名字:")
b=input("你得成绩是多少:")
if a in zha:
if int(b)>zha[a]:
print(a+"同学,你的成绩"+b+"已更新")
else:
print(a+"同学,你的成绩"+b+"未更新")
else:
zha[a]=int(b)
print(a+"你的成绩"+b+"已上传")
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