Commit e5118d18 by BellCodeEditor

save project

parent 80a1c279
Showing with 4 additions and 11 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
abcd={"矿泉水":1,"奥里给":10000000}
a=abcd.pop("矿泉水")
print(abcd)
\ 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