Commit 5561faf4 by BellCodeEditor

save project

parent 1c9b3771
Showing with 10 additions and 3 deletions
score = {'语文':0,'数学':0,'英语':0} a={'yw':91,'sx':88,'yu':85}
for i,j in score.items(): b={'yw':91,'sx':8,'yu':85}
print(i,j) c={'yw':9,'sx':88,'yu':5}
d={'q':a,'w':b,'e':c}
f=input("mz")
g=d[f]
for i,j in g.items():
print(i,j)
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 # 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
......
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