Answer to Question #220960 in Python for Hari nadh babu

Question #220960

Print Integers - 3


This Program name is Print Integers - 3. Write a Python program to Print Integers - 3, it has two test cases


The below link contains Print Integers - 3 question, explanation and test cases


https://drive.google.com/file/d/12SgeEAOfc8r4kohSyTYdbg2jQ2FqYdNP/view?usp=sharing


We need exact output when the code was run

1
Expert's answer
2021-08-03T03:43:46-0400
num = int(input())

for i in range(num, 0, -1):
    print(i)

Input 1:
5
Output 1:
5
4
3
2
1

Input 2:
3
Output 2:
3
2
1

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS