Skip to content

Commit

Permalink
Changes has been made
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaLis123 committed Oct 2, 2023
1 parent 5a1bda9 commit 2b4ec60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def __init__(
Animal.alive.append(self)

def __repr__(self) -> str:
return ("{Name:" +
f" {self.name}, Health: {self.health}, Hidden: {self.hidden}" +
"}")
return ("{Name:"
+ f" {self.name}, Health: {self.health}, Hidden: {self.hidden}"
+ "}")


class Herbivore(Animal):
Expand Down

0 comments on commit 2b4ec60

Please sign in to comment.