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