Commit fa01df93 by BellCodeEditor

auto save

parent 5ab88987
Showing with 11 additions and 2 deletions
score = {'语文':91,'数学':88,'英语':85}
a={
's':{'语文':99,'数学':90,'英语':98},
's1':{'语文':199,'数学':190,'英语':198},
's2':{'语文':299,'数学':290,'英语':298},
's3':{'语文':399,'数学':0,'英语':398}
}
for i in a.values():
print(i['数学'])
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
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