Python program to create the following pattern.

* 
* * 
* * * 
* * * * 
* * * * * 
* * * * 
* * * 
* * 
*

This is a star pattern program in Python that can be created with the help of nested loop that will iterate from row as in i and j as in column.

row=5;  
for i in range(row):
    for j in range(i):
        print ('* ', end="")
    print('')

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