Good news: the problem is not difficult at all.
In order to poke around and see the entrails of a class
you can use
>>> dir(dict)
['__class__', '__cmp__', '__contains__', '__delattr__', '__delitem__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__iter__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'copy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'pop', 'popitem', 'setdefault', 'update', 'values']
and help(dict)
, which has a very complete interactive documentation, but of course you also have access to the even more complete online documentation.
Once you have a grasp of what dict
does behind the scenes, you should learn about inheritance in Python.
If you get stuck visit this site to get some ideas, but don't copy/paste, your teacher will not see it kindly.