'''
Q.No.5 Write a function called show_stars(rows). If rows is 5,
it should print the following:
 *
 **
 ***
 ****
 *****

'''

for i in range (5):
    for j in range(i+1):
        print('*',end='')
    print('')

print( '\n')

for i in range (5,0,-1):
    for j in range(i-1):
        print('*',end='')
    print()
6011b02ca0be24d1c05f60087ef960b478747ff5
<mask token>

<mask token>
for i in range(5):
    for j in range(i + 1):
        print('*', end='')
    print('')
print('\n')
for i in range(5, 0, -1):
    for j in range(i - 1):
        print('*', end='')
    print()

'''
Q.No.5 Write a function called show_stars(rows). If rows is 5,
it should print the following:
 *
 **
 ***
 ****
 *****

'''

for i in range (5):
    for j in range(i+1):
        print('*',end='')
    print('')

print( '\n')

for i in range (5,0,-1):
    for j in range(i-1):
        print('*',end='')
    print()