This commit is contained in:
2024-11-28 17:05:14 +01:00
parent b034aad83f
commit 19b5b201b0
205 changed files with 0 additions and 2340 deletions
@@ -0,0 +1,14 @@
# TODO
print("Height: ")
while True:
try:
size = int(input())
if 1 <= size <= 8:
break
else:
print("Height between 1 and 8: ")
except ValueError:
print("Height with numeric value: ")
for i in range(1, size+1):
print(((size - i) * ' ') + (i * '#'))