Commit a73b3979 by BellCodeEditor

save project

parent 6a980f48
Showing with 14 additions and 0 deletions
a={'小明':77,'小王':65,'小张':86,'小美':100}
k=input('请输入你的名字:')
v=input('请输入你的成绩:')
if k in a:
if int(v)>a[k]:
a[k]=int(v)
print('你的成绩'+k+'成绩为'+v)
else:
print(k+'未刷新')
else:
a[k]=int(v)
print(k+'同学'+v+"已上传")
\ 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