Commit c6f68d91 by BellCodeEditor

save project

parent 83b73772
Showing with 10 additions and 0 deletions
a={"悟空":56,"ig":89}
k=input("请输入名字")
v=input("请输入成绩")
if k in a:
if int(v)>a[k]:
a[k]=int(v)
else:
a[k]=int(v)
print(a)
\ 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