Commit 40d8b6fc by BellCodeEditor

save project

parent b7498cbe
Showing with 12 additions and 0 deletions
s1 = {'语文':91,'数学':79,'英语':91}
s2 = {'语文':95,'数学':99,'英语':99.5}
s3 = {'语文':95,'数学':97,'英语':97}
s4 = {'语文':90,'数学':95,'英语':93}
score = {'诗洛':s1,'圆圆':s2,'宝茹':s3,'峻宇':s4}
name = input('名字:')
info = score[name]
for k,v in info.items():
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