automated commit by check50 [check50=True]

This commit is contained in:
kukemuna 2024-03-22 09:59:07 +02:00
commit a5b23bb0c6
1 changed files with 15 additions and 0 deletions

15
mario.py Normal file
View File

@ -0,0 +1,15 @@
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, end="")
print("#" * (height - space), end="")
print()
space -= 1