Commit 777a45dc by BellCodeEditor

save project

parent 3820071a
Showing with 7 additions and 3 deletions
s = {'语文':91,'数学':88,'英语':85} s={"语文", 0 ,"数学",60 ,"英语",80 }
for k ,v in s .items(): s1={"语文", 20 ,"数学",60 ,"英语",80 }
s2={"语文" 80 ,"数学",60 ,"英语",80 }
a={"s",s ,"d",s1 ,"f",s2}
k=input()
for k,v in a[k].items():
print(k,v) print(k,v)
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
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