From 6a1c57192ba5a685a2359e25ce9ef7f1294303ea Mon Sep 17 00:00:00 2001 From: Oksana Boliziuk Date: Fri, 20 Oct 2023 22:58:33 +0300 Subject: [PATCH] Corrected_output --- app/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/main.py b/app/main.py index 07a1bdf7..35e729ae 100644 --- a/app/main.py +++ b/app/main.py @@ -17,9 +17,8 @@ def __setattr__(self, attr: str, value: int) -> None: super().__setattr__(attr, value) def __repr__(self) -> str: - return f"{{"\ - f"Name: {self.name},"\ - f"Health: {self.health},"\ + return f"{{Name: {self.name}, " \ + f"Health: {self.health}, " \ f"Hidden: {self.hidden}}}"