diff --git a/app/main.py b/app/main.py index 5a392619..aa60d6a9 100644 --- a/app/main.py +++ b/app/main.py @@ -22,7 +22,7 @@ def hide(self) -> None: class Carnivore(Animal): @staticmethod - def bite(animal: Herbivore) -> None: + def bite(animal: Animal) -> None: if not animal.hidden and isinstance(animal, Herbivore): animal.health -= 50 if animal.health <= 0: