diff --git a/python-classes/5-square.py b/python-classes/5-square.py index f375874..cd70dfe 100755 --- a/python-classes/5-square.py +++ b/python-classes/5-square.py @@ -33,8 +33,7 @@ def area(self): def my_print(self): """Prints in stdout the square with the character #""" for x in range(self.__size): - if self.__size == 0: - print("") - return [print("#", end="") for num in range(self.__size)] print() + if self.__size == 0: + print("")