Multilevel Inheritance in python

Hello Everyone I have opted for the python online training and recently got stuck in the oops concept. I'm getting an error in python multilevel class inheritance.

class Animal():
def init(self):
print("Animal created")
def whoAmI(self):
print("Animal")
def eat(self):
print('eating')

class Dog(Animal):
print("dog created")

class Cat(Dog):
print("car created")

m = Cat()
Cat.eat()

Can anyone able to help to resolve this error

Thank You