Commit 24778e51 by BellCodeEditor

save project

parent fc5b14d3
Showing with 4 additions and 3 deletions
......@@ -2,11 +2,12 @@ qwe={}
k=input("名字:")
v=input("本次分数:")
if k in qwe:
if int(v)>qwe[k]
if int(v)>qwe[k]:
qwe[k]=int(v)
print("成绩已更新。")
else:
print("成绩无更新。")
else:
qwe[k]=int(v)
print("成绩已上传。")
\ No newline at end of file
print("成绩已上传。")
print(qwe)
\ 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