Commit a5b1ed00 by BellCodeEditor

save project

parent a977467a
Showing with 6 additions and 1 deletions
score = {'语文':114514,'数学':1919,'英语':810}
for binbin,jiege in score.items():
score2 = {'语文':114514,'数学':191,'英语':810}
score3 = {'语文':11454,'数学':1919,'英语':810}
xa={"binbin":score,"jiege":score2,"awei":score3}
nand=input()
a=xa[nand]
for binbin,jiege in a.items():
print(binbin,jiege)
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
......
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