Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!not-for-mail From: Arie van Wingerden Newsgroups: comp.lang.python Subject: Re: Getting math scores (Dictionary inside dictionary) Date: Tue, 24 Nov 2015 12:10:47 +0100 Lines: 16 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de DhWhZfZbRDN5alJw5UROsga+asceztXvNdmlH/Pr0EJw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.086 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'subject:Getting': 0.09; '12:04': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'url:mailman': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'skip:p 30': 0.35; 'url:org': 0.36; 'received:209.85': 0.36; 'skip:{ 10': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; '12,': 0.37; 'received:209': 0.38; 'thank': 0.38; 'url:mail': 0.40; 'results': 0.66; 'maths': 0.84; 'received:209.85.160.178': 0.84; 'scores': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xwG/3PyUKfWpyLR1AR45+rj0kAKz6I5BCvOEP4o5m2c=; b=sn5mWSsFktpOcykx4SrhvlhIeYGTVLz2O3WmoXjcKVbQf416UVLrAL6CaVaIvPanCQ CGA+AyYA8UBbQB8SagAWvzqesd1T1mG+p8a36fTgOJl3OaI2CqzF9RNGkFiP31DqGSr5 IQ03Nl5CEDeTJaltqrVqxObXjDJT9piGDI+hFgzs073Bdpj8//bHpWwd1nLj7n5115X9 NBm71eI44lxozIkUn1svCWtKEGMYSOEPA32hZwE+0corpO+y/SfmzeaRY5cyueFSUQsj 7ic57dzyk1oQPdkoYwtdC1AfH/lNUe192RFc4OgihbgDTALhBwpqZDE1SlSejrwnL4sF TRDg== X-Received: by 10.129.134.193 with SMTP id w184mr26668643ywf.167.1448363447982; Tue, 24 Nov 2015 03:10:47 -0800 (PST) In-Reply-To: X-Mailman-Approved-At: Tue, 24 Nov 2015 06:53:25 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99319 print((results["gengyang"])["maths"]) 2015-11-24 12:04 GMT+01:00 Cai Gengyang : > 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 ... > -- > https://mail.python.org/mailman/listinfo/python-list >