Computer Science, asked by madhulnath30, 1 day ago

please tell the lines for this pattern in python​

Attachments:

Answers

Answered by arshbpro
0

Answer:

please mark me as brainliest

Explanation:

rows = int(input("Enter the number of rows: "))

# the outer loop is executing in reversed order

for i in range(rows + 1, 0, -1):

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

print("*", end=' ')

print(" ")

Output:

Enter the number of rows: 5

* * * * *

* * * *

* * *

* *

*

Similar questions