diff --git a/app/main.py b/app/main.py index 9455d6da..b6c94703 100644 --- a/app/main.py +++ b/app/main.py @@ -42,7 +42,7 @@ def bring_slippers() -> None: print("The slippers delivered!") -def feed_animals(animals: list) -> int: +def feed_animals(animals: list[Animal]) -> int: return sum( animal.feed() for animal in animals if animal.is_hungry )