Commit 7f417369 by BellCodeEditor

save project

parent 4f595dd2
Showing with 12 additions and 0 deletions
score={}
while True:
k=input("请输入姓名:")
j=int(input("请输入分数:"))
if k in score:
if j>score[k]:
score[k]=j
else:
score[k]=j
print("第一次录入的%s的成绩为%d"%(k,j))
print(score)
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