Skip to content

Commit

Permalink
Task 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronnie5562 committed Jul 22, 2023
1 parent d1c08a1 commit 3332368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-classes/5-square.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def my_print(self):
"""Prints in stdout the square with the character #"""
for x in range(self.__size):
if self.__size == 0:
print()
print("")
return
[print("#", end="") for num in range(self.__size)]
print()

0 comments on commit 3332368

Please sign in to comment.