Commit 338d7d9d by BellCodeEditor

save project

parent d49246e8
Showing with 8 additions and 0 deletions
student1={'语文':99,'数学':96,'英语':91}
student2={'语文':100,'数学':100,'英语':100}
student3={'语文':98,'数学':90,'英语':89}
score={'小贝':student1,'悟空':student2,'诺依':student3}
name=input('姓名:')
for k,v in score[name].items():
print(k,v)
\ No newline at end of file
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