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
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
Hindi,
2 months ago
Math,
2 months ago
English,
2 months ago
Social Sciences,
4 months ago
Political Science,
10 months ago
Science,
10 months ago