Commit e5118d18 by BellCodeEditor

save project

parent 80a1c279
Showing with 4 additions and 11 deletions
dict_a={} abcd={"矿泉水":1,"奥里给":10000000}
while True: a=abcd.pop("矿泉水")
a=input("谁") print(abcd)
b=input("TA的成绩") \ No newline at end of file
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