Commit b7439b3e by BellCodeEditor

auto save

parent f0c715f8
Showing with 9 additions and 0 deletions
student1 = {'语文': 9728, '数学': 8684, '英语': 9744}
student2 = {'语文': 8266, '数学': 9547, '英语': 9845}
student3 = {'语文': 9458, '数学': 9875, '英语': 8884}
score = {'悟空': student1, '诺依': student2, '小贝': student3}
name=input('名子:')
info=score[name]
for k,v in info.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