class Animal:

    def __init__(self, name):
        self.name = name

def talk(self):
    raise NotImplementedError('Subclass must implement abstract method')


class Cat(Animal):
    pass
Practical example of Polymorphism