Commit 33db3784 by BellCodeEditor

auto save

parent 21439108
Showing with 15 additions and 0 deletions
s={'小牛':10,'小熊猫':66}
a=input("姓名")
b=input("成绩")
c=int(b)
if a in s:
if s[a]>c:
print("没更新")
else:
s[a]=c
print("已更新")
else:
s[a]=c
print("已添加")
print(s)
\ 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