Commit ef01c761 by BellCodeEditor

save project

parent 4fa5210d
Showing with 7 additions and 4 deletions
score = {'语文':91,'数学':88,'英语':85} s = {'语文':1,'数学':881,'英语':-85}
x = {'语文':9221,'数学':898,'英语':853}
a = {'语文':91,'数学':88,'英语':85}
r ={"SB":s,'水笔':x,'爸爸',a}
z=input('你的名字是?')
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
for y,u in r[z].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