automated commit by check50 [check50=True]

This commit is contained in:
kukemuna 2024-03-22 10:16:32 +02:00
commit 8cfd43fd4a
1 changed files with 14 additions and 0 deletions

14
mario.py Normal file
View File

@ -0,0 +1,14 @@
while True:
try:
height = int(input("Height: "))
if height in range(1, 9):
break
except:
ValueError
space = height - 1
for r in range(height):
print(" " * space + "#" * (height - space) + " " + "#" * (height - space), end="")
print()
space -= 1