Computer Science, asked by shooterap2003, 10 months ago

Programming for pyramid of numbers in python.. ??


do not copy form google​

Answers

Answered by namanmishra53
1

Answer:

Python 3.x code to demonstrate star pattern

  

# Function to demonstrate printing pattern

def pypart(n):

      

    # outer loop to handle number of rows

    # n in this case

    for i in range(0, n):

      

        # inner loop to handle number of columns

        # values changing acc. to outer loop

        for j in range(0, i+1):

Similar questions