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):
def eat(self):

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

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

m = Cat()

Can anyone able to help to resolve this error

Thank You