Getting math scores (Dictionary inside dictionary)

Cai Gengyang gengyangcai at gmail.com
Tue Nov 24 06:04:09 EST 2015


results = {
  "gengyang": { "maths": 10, "english": 15},
  "ensheng": {"maths": 12, "english": 10},
  "jordan": {"maths": 9, "english": 13}
  }

How do you get gengyang's maths scores ?

Thank you ...



More information about the Python-list mailing list