Skip to content

Commit

Permalink
fixed: in feed_animals input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
SviatoslavTataryn committed Nov 1, 2024
1 parent c1f601d commit 3261b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def bring_slippers(self) -> None:
print("The slippers delivered!")


def feed_animals(list_animals: list["Animal"]) -> int:
def feed_animals(list_animals: list[Animal]) -> int:
return sum(animal.feed() for animal in list_animals)

0 comments on commit 3261b7e

Please sign in to comment.