Commit b75d2743 by BellCodeEditor

save project

parent 5fedd72e
Showing with 6 additions and 4 deletions
score = {'语文':91,'数学':88,'英语':85}
for k,v in score.items():
print(k,v)
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
score1 = {'语文':91,'数学':98,'英语':85}
score2 = {'语文':93,'数学':86,'英语':95}
score3 = {'语文':81,'数学':78,'英语':89}
op={'小明':score1,'小刚':score2,'小红':score3}
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