Getting math scores (Dictionary inside dictionary)

Denis McMahon denismfmcmahon at gmail.com
Tue Nov 24 09:09:14 EST 2015


On Tue, 24 Nov 2015 03:04:09 -0800, Cai Gengyang wrote:

> results = {
>   "gengyang": { "maths": 10, "english": 15},
>   "ensheng": {"maths": 12, "english": 10}, "jordan": {"maths": 9,
>   "english": 13}
>   }
> 
> How do you get gengyang's maths scores ?

I refer to my previous answer. Open a web browser and google "python 
dictionary"

-- 
Denis McMahon, denismfmcmahon at gmail.com



More information about the Python-list mailing list