Remove ending spaces
This commit is contained in:
parent
954069159a
commit
86f594cd9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue