Skip to content

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()  #1011

@ken-opiyo

Description

@ken-opiyo
No description provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions