Commit 9d52916c by BellCodeEditor

save project

parent ae7414db
Showing with 8 additions and 3 deletions
score = {'悟空'{'语文':91,'数学':88,'英语':85}} b= {'语文':16,'数学':100,'英语':65}
for i,o in score.items(): c= {'语文':100,'数学':88,'英语':55}
print(i,o) a= {'语文':21,'数学':78,'英语':100}
d= {'悟空':a,'唐僧':b,'八戒':c}
x=input('请输入你想查看谁的成绩:')
mm=d['悟空']
for k,v in mm.items():
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