human
I am working on the file "03_advanced/advanced_python_tricks.ipynb".
The first task is:
Shadowing
Classes can alter functionality of their parents:
Can you write Python code for it?

Give me a the Python code you requested?
assistant
#Here is the Python code you requested.

class Pekingese(Dog):
    color = "brownish"
    def __init__(self, name):
        super().__init__(name, 15)
        
    def bark(self):
        print('whif.')
        
d = Pekingese('tiny')
d.bark()