Put text back into a trianglish shape
This commit is contained in:
parent
b37f8d1dd4
commit
6bc82c7446
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ def createRow(currentRow):
|
||||||
coefficient = getbinomial(currentRow, i)
|
coefficient = getbinomial(currentRow, i)
|
||||||
row.append(coefficient)
|
row.append(coefficient)
|
||||||
|
|
||||||
result = " ".join(map(str, row))
|
result = " ".join(map(str, row))
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
@ -36,6 +36,6 @@ def factorial(number):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
createTriange(5)
|
createTriange(10)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue