X-Received: by 10.182.79.70 with SMTP id h6mr29426218obx.22.1448363049424; Tue, 24 Nov 2015 03:04:09 -0800 (PST) X-Received: by 10.50.79.233 with SMTP id m9mr128660igx.8.1448363049364; Tue, 24 Nov 2015 03:04:09 -0800 (PST) Path: csiph.com!xmission!news.glorb.com!mv3no1282669igc.0!news-out.google.com!l1ni7361igd.0!nntp.google.com!mv3no1992775igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Tue, 24 Nov 2015 03:04:09 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=116.89.57.142; posting-account=V6fVrwoAAAB_KNNhh7gdmvqhYlmrIkSO NNTP-Posting-Host: 116.89.57.142 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Getting math scores (Dictionary inside dictionary) From: Cai Gengyang Injection-Date: Tue, 24 Nov 2015 11:04:09 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.python:99312 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 ...