<filename>Inheritance/main.py
from animal import *


# animal_1 = Animal("Drops")
# animal_2 = Animal("Miałczek")
# animal_1.move()

dog = Dog("Drops")
fish = Fish("Marian")
bird = Bird("ćwirek")

dog.move()
dog.run()
fish.swim()
bird.fly()
bird.stop()

<filename>Inheritance/main.py
from animal import *


# animal_1 = Animal("Drops")
# animal_2 = Animal("Miałczek")
# animal_1.move()

dog = Dog("Drops")
fish = Fish("Marian")
bird = Bird("ćwirek")

dog.move()
dog.run()
fish.swim()
bird.fly()
bird.stop()

# animal_1 = Animal("Drops") # animal_2 = Animal("Miałczek") # animal_1.move()