Commit de605b4d by BellCodeEditor

save project

parent 887e08cb
Showing with 6 additions and 1 deletions
......@@ -4,7 +4,12 @@ K = input("姓名是什么?")
V =input("成绩是多少")
if K in a :
pass
if int(V) > a[K]:
a[K] = int(V)
print("更新"+K+"完成")
else:
print("不")
else:
a[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