Commit e26e513b by BellCodeEditor

save project

parent 61ba9eee
Showing with 5 additions and 1 deletions
score = {'语文':91,'数学':88,'英语':85}
s1 = {'语文':91,'数学':88,'英语':85}
s2 = {'语文':90,'数学':80,'英语':83}
s2 = {'语文':91,'数学':82,'英语':89}
a={'李四':s1,'麻子':s2,'坤坤:s3'}
k=input("请输入你要查询的名字")
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
for k,v in s1.items():
......
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