human
I am working on the file "03_advanced/.ipynb_checkpoints/advanced_python_tricks-checkpoint.ipynb".
The first task is:
Special methods
Can you write Python program for it?
 ... Give me a the Python program you requested?
assistant
#Here is the Python program you requested.

class Pekingese(Dog):
    color = "brownish"
    def __init__(self, name):
        super(Pekingese, self).__init__(name, 15)

    def __len__(self):
        return self.size
        
    def bark(self):
        print 'whif.'

p = Pekingese("wang")
len(p)