human
I am working on the file "P05Python Object Oriented Programming.ipynb".
The first task is:
strangely 'None' is getting printed.
This is due to not returning in methods function call
Check stackoverflow discussion
Also Tips on markdown
Anyways, here is a derived class
Can you write Python program for it?
 Write me a the Python program you requested?
assistant
#Here is the Python program you requested.

class Dog(Animal):
    def __init__(self):
        print 'Dog created'
        
    def bark(self):
        return "Woff woof"
        
    def whoAmI(self):
        print 'I am a dog.'
        return 'Did you expect Animal to print?'
        
dog1 = Dog()
print dog1.bark()
print dog1.whoAmI()
print dog1.eat()