# Basic Star Pattern
print("Star Pattern \n")
for i in range(1,6):
for j in range(i):
print("*", end="")
print('\n')
#Inverted Star Pattern
print("Inverted Star Pattern \n")
for i in range(6,1,-1):
for j in range(i, 1, -1):
print("*", end="")
print('\n')
To embed this project on your website, copy the following code and paste it into your website's HTML: