Commit 80a1c279 by BellCodeEditor

save project

parent e8e9bb77
Showing with 11 additions and 0 deletions
dict_a={}
while True:
a=input("谁")
b=input("TA的成绩")
if a in dict_a:
if dict_a[a]<int(b):
dict_a[a]=int(b)
else:
dict_a[a]=int(b)
print(dict_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