On 2015-11-09 23:52, Bernie Lazlo wrote:
This should be a simple problem but I have wasted hours on it. Any help would be appreciated. [I have taken my code back to almost the very beginning.] ======================== The student scores need to be summed. ======================== import json import urllib url = "http://www.wickson.net/geography_assignment.json" response = urllib.urlopen(url) data = json.loads(response.read()) lst1 = list(data.items()) print lst1
Do it a step at a time. It's a list, so start with indexing. -- https://mail.python.org/mailman/listinfo/python-list