Write a program to display the below pattern in python.
54321
4321
321
21
1
Answers
Answered by
1
for x in reversed(range(6)):
for y in reversed(range(x)):
print(y+1, end="")
print()
Similar questions