summaryrefslogtreecommitdiff
path: root/wk6/pset/sentimental-mario-more/mario.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-04 07:39:16 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-04 07:39:16 +0000
commit19fb7a503dcc7a0978b19804e5f8fc9d1d11f9eb (patch)
tree73867e02708b8ccbf67f7e77c66c8dcf45882b83 /wk6/pset/sentimental-mario-more/mario.py
parenta1a60d921c9ab0b62161a9efa3ec1e4238cb4c9c (diff)
Sat, May 4, 2024, 12:39 AM -07:00
Diffstat (limited to 'wk6/pset/sentimental-mario-more/mario.py')
-rw-r--r--wk6/pset/sentimental-mario-more/mario.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/wk6/pset/sentimental-mario-more/mario.py b/wk6/pset/sentimental-mario-more/mario.py
index dfec5e0..d2d1663 100644
--- a/wk6/pset/sentimental-mario-more/mario.py
+++ b/wk6/pset/sentimental-mario-more/mario.py
@@ -14,5 +14,9 @@ while True:
break
for i in range(size):
- print(" " * (size - i - 1), "#" * (i + 1), "", "#" * (i + 1), " " * (size - i - 1))
+ print(' ' * (size - i - 1), end='')
+ print("#" * (i + 1), end='')
+ print(" ", end='')
+ print("#" * (i + 1), end='')
+ print(" " * (size - i - 1))