From 6bc82c744650efff341c2cd20cddda61d6175bf8 Mon Sep 17 00:00:00 2001 From: lolabird Date: Fri, 22 Dec 2023 06:34:10 -0700 Subject: [PATCH] Put text back into a trianglish shape --- thinkcspy/Chapter-16-Exercises/pascal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thinkcspy/Chapter-16-Exercises/pascal.py b/thinkcspy/Chapter-16-Exercises/pascal.py index 36f0a90..6068710 100644 --- a/thinkcspy/Chapter-16-Exercises/pascal.py +++ b/thinkcspy/Chapter-16-Exercises/pascal.py @@ -15,7 +15,7 @@ def createRow(currentRow): coefficient = getbinomial(currentRow, i) row.append(coefficient) - result = " ".join(map(str, row)) + result = " ".join(map(str, row)) return result @@ -36,6 +36,6 @@ def factorial(number): -createTriange(5) +createTriange(10)