Skip to content

Commit

Permalink
Solution_2 double quotes in line 38 have been removed
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavsysoiev committed Jan 30, 2024
1 parent 8a9c8c1 commit 960b6d2
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 @@ -35,7 +35,7 @@ def hide(self) -> None:
class Carnivore(Animal):

@staticmethod
def bite(herbivore: "Herbivore") -> None:
def bite(herbivore: Herbivore) -> None:
if not isinstance(herbivore, Herbivore) or herbivore.hidden:
return
herbivore.health -= 50
Expand Down

0 comments on commit 960b6d2

Please sign in to comment.