I need some help creating an advanced data structure in Python. I haven't been using the language long, but finding it much harder than PHP when it comes to storing data.
At the end of the day, I want my data like this:
data[year][team] = { 'points' : 30, 'yards' : 800 }
Basically, I need to be able to retrieve, add, edit, and delete data in a json object by looking up via a year-team pair. Any ideas?