Commit 98a6a76d by BellCodeEditor

auto save

parent 83b73772
Showing with 12 additions and 0 deletions
T={}
while True:
name=int(input("请输入姓名:"))
grade=int(input("请输入成绩:"))
if name in T:
if T[name]<grade:
T[name]=grade
else:
T[name]=grade
print(T)
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