Commit 44a4d2ce by BellCodeEditor

save project

parent 0c828e66
Showing with 9 additions and 8 deletions
goods = {'可口可乐':3,'旺仔牛奶':4,'农夫山泉':1} s1={'语文':92,'数学':96,'英语':97}
for k,v in score.items(): s2={'语文':96,'数学':93,'英语':91}
s3={'语文':93,'数学':95,'英语':98}
s4={'语文':95,'数学':93}
score={'小馨':s1,'小艺':s2,'小可':s3,'文博':s4}
name=input("名字:")
info=score[name]
for k,v in info.items():
print(k,v) print(k,v)
\ 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