diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-04 07:25:54 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-04 07:25:54 +0000 |
commit | fd548d7911f36db8c313e92c153b6c3822b83766 (patch) | |
tree | b98c07f8b71d1ddc94d4b41bb7fdac702954930b | |
parent | b98ed7147d9096444aa6d2c8140546f082a41ee8 (diff) |
Sat, May 4, 2024, 12:25 AM -07:00
-rw-r--r-- | wk6/pset/sentimental-mario-more/mario.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wk6/pset/sentimental-mario-more/mario.py b/wk6/pset/sentimental-mario-more/mario.py index 5fc6656..07fb1c5 100644 --- a/wk6/pset/sentimental-mario-more/mario.py +++ b/wk6/pset/sentimental-mario-more/mario.py @@ -7,10 +7,10 @@ from cs50 import get_int -size = 0 +size = 16 -# 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), "", "#" * (i + 1), " " * (size - i - 1)) |