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


class Cat(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Miau')


class Dog(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Hau')


class Cow(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Muuu')


animals = [Cat('Puszek'), Dog('Borys'), Cow('Balbinka')]
for animal in animals:
    animal.speak()


6446aa87ed1c135cdd14a7358fe9cc5c0eebdf9e
<mask token>


class Dog(Animal):
    <mask token>
    <mask token>


class Cow(Animal):

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

    def speak(self):
        print('Muuu')


<mask token>

<mask token>


class Cat(Animal):

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

    def speak(self):
        print('Miau')


class Dog(Animal):

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

    def speak(self):
        print('Hau')


class Cow(Animal):

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

    def speak(self):
        print('Muuu')


<mask token>

class Animal:

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


class Cat(Animal):

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

    def speak(self):
        print('Miau')


class Dog(Animal):

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

    def speak(self):
        print('Hau')


class Cow(Animal):

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

    def speak(self):
        print('Muuu')


<mask token>

class Animal:

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


class Cat(Animal):

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

    def speak(self):
        print('Miau')


class Dog(Animal):

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

    def speak(self):
        print('Hau')


class Cow(Animal):

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

    def speak(self):
        print('Muuu')


<mask token>
for animal in animals:
    animal.speak()

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


class Cat(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Miau')


class Dog(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Hau')


class Cow(Animal):
    def __init__(self, name):
        super().__init__(name)

    def speak(self):
        print('Muuu')


animals = [Cat('Puszek'), Dog('Borys'), Cow('Balbinka')]
for animal in animals:
    animal.speak()

