answer only if you know python programming!
pls! answer honestly... I will mark you as the brainliest!
Attachments:

Answers
Answered by
4
Answer:
Simple pyramid pattern
# 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):
# printing stars
print("* ",end="")
# ending line after each row
print("\r")
# Driver Code
n = 4
pypart(n)
Output:
*
* *
* * *
Hope it helps
Similar questions
CBSE BOARD XII,
3 months ago
History,
3 months ago
Social Sciences,
6 months ago
English,
1 year ago