Computer Science, asked by jonastomson26, 4 months ago

Write a program to print the following pattern:
5 5 5 5 5
5 5 5 5
5 5 5
5 5
5​

Answers

Answered by lion7979
4

Answer:

phyton program for given

5 5 5 5 5

5 5 5 5

5 5 5

5 5

5

rows = 5

num = rows

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

for j in range(0, i):

print(num, end=' ')

print("\r")

hope it's helped you.......。◕‿◕。

Mark me as brainliest if you can.....

Similar questions