Skip to content

Commit

Permalink
herbivores-and-carnivores
Browse files Browse the repository at this point in the history
  • Loading branch information
TrMaksym committed Dec 7, 2024
1 parent 949c159 commit 0133030
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def __repr__(self) -> str:
class Herbivore(Animal):
def hide(self) -> None:
self.hidden = not self.hidden
print(f"{self.name} is now {"hidden" if self.hidden else "visible"}.")


class Carnivore(Animal):
Expand Down

0 comments on commit 0133030

Please sign in to comment.