Skip to content

Commit

Permalink
dict changed to str
Browse files Browse the repository at this point in the history
  • Loading branch information
Bombardier256 committed Dec 13, 2024
1 parent 40278e9 commit be53049
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 @@ -8,7 +8,7 @@ def __init__(
self.hidden = hidden
self.alive.append(self)

def __repr__(self) -> dict:
def __repr__(self) -> str:
animal = (f"{{Name: {self.name}, Health: {self.health},"
f" Hidden: {self.hidden}}}")
return animal
Expand Down

0 comments on commit be53049

Please sign in to comment.