"""
making a triangle
"""


def print_asterisks(num):
    print("*" * num)

# for number in range(1, 6):
#     print_asterisks(number)

"""
making a trapeze
"""
a_number = 8

for number in range(int(a_number/2), a_number+1):
    print_asterisks(number)

"""
making a diamond
"""



