Remove ending spaces

This commit is contained in:
lolabird 2024-02-29 11:10:11 -07:00
commit 86f594cd9a

View file

@ -9,7 +9,7 @@ def createTriangle(numRows):
for i in range(numRows+1):
spaces = (" "*(numRows-i))
nums = f"{createRow(i)}"
print(spaces + nums + spaces)
print(spaces + nums)
def createRow(currentRow):