# Daniel Foster
# 06/11/2024
# Nested For Loops


# Take input for height of this triangle.
size = int(input("What's the size of this triangle: "))


# Outer loop counts how many asterisks to put on the row.
for i in range(1, size+1, 1):
    # Inner for loop repeats printing one asterisk on a line i number of times.
    for j in range(i):
        # Remove end character so each asterisk is on the same line.
        print("*", end="")

    # Go to next line after row is finished.
    print()
