Computer Science, asked by uibadullah1, 1 month ago

someone please answer this question quickly​

Attachments:

Answers

Answered by Aryansingh001
4

Answer:

Explanation:

https://brainly.in/app/profile/22631671/answers

def pattern(n):

     k = 2*n -2

     for i in range(n,-1,-1):

          for j in range(k,0,-1):

               print(end=" ")

          k = k +1

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

               print("*", end=" ")

          print("\r")

 

pattern(5)

Similar questions