Q. Write a Python program to print a pattern like:
4 3 2 1
4 3 2
4 3
4
Class 9th
Chapter Conditional Statements And Loops
Don't even try to post irrevalent answers otherwise your 10 answers will be deleted
Attachments:
Answers
Answered by
0
Answer:
printf ("4321")
printf ("432")
printf ("43")
printf ("4")
Hope this helps you.
Answered by
2
The program:
for i in range(4,0,-1):
for j in range(i,0,-1):
print(j, end=" ")
print()
Sorry, for so late answer, actually my data was off so I didn't got notification...
Similar questions
Accountancy,
1 month ago
Social Sciences,
1 month ago
Math,
1 month ago
Math,
9 months ago
Social Sciences,
9 months ago