From b98ed7147d9096444aa6d2c8140546f082a41ee8 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sat, 4 May 2024 07:24:57 +0000 Subject: Sat, May 4, 2024, 12:24 AM -07:00 --- wk6/pset/sentimental-mario-more/mario.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wk6/pset') diff --git a/wk6/pset/sentimental-mario-more/mario.py b/wk6/pset/sentimental-mario-more/mario.py index c8be4ce..5fc6656 100644 --- a/wk6/pset/sentimental-mario-more/mario.py +++ b/wk6/pset/sentimental-mario-more/mario.py @@ -9,9 +9,9 @@ from cs50 import get_int size = 0 -while size < 1 and size > 8: - size = get_int("Height: ") +# while size < 1 and size > 8: +size = get_int("Height: ") for i in range(size - 1): - print(" " * (size - i - 1), "#" * i + 1) + print(" " * (size - i - 1), "#" * (i + 1), "", "#" * (i + 1), " " * (size - i - 1)) -- cgit v1.2.3