Python-100-Days
Python-100-Days copied to clipboard
Python program to display Pyramid Pattern n=5 # number of rows # outer loop handling the number of rows for x in range(0,n): # inner loop handling the number of columns # values change according toouter loop for y in range(1,x+1): # displays the star in pyramid pattern print("*",end=" ") print()