Commit c92ea9bc by BellCodeEditor

save project

parent 4f44d7cb
Showing with 4 additions and 4 deletions
score = {'语文':27,'数学':49,'英语':55}
for k,v in score.items():
print(k,v)
student1 = {'语文'0.00000000000001,'数学':100,'英语'2}
student2 = {'语文'0.01,'数学':1,'英语'20}= {}
student3 = {'语文'0.000001,'数学':9,'英语'42}
score = {'悟空':student1,'诺伊':student2,'核武':student3}
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
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