1# dict object with special methods 2 3d = {} 4d.__setitem__('2', 'two') 5print(d.__getitem__('2')) 6d.__delitem__('2') 7print(d) 8