Hey cool developers get the cool & popular python pattern programs. Only for pattern programs are included in this blog more patterns are coming soon ...................
space=0
star=5
for i in range(5):
for j in range(space):
print(" ",end=" ")
for j in range(star):
print("*",end=" ")
space+=1
star-=1
print()
print("---------------------------------------------")
space=4
star=1
for i in range(5):
for j in range(space):
print(" ",end=" ")
for j in range(star):
print("*",end=" ")
space-=1
star+=1
print()
print("---------------------------------------------")
for i in range(6):
print(i*" * ")
print("---------------------------------------------")
for i in range(5,0,-1):
print(i*" * ")
0 Comments
Thanks for the valuable feedback 😀