Answer to Question #250944 in Python for Sei

Question #250944

5. Not Less than Three

by CodeChum Admin

Make a program that will accept an integer and loop from 1 to that integer. Then, print all numbers from that range that are greater than 3.


Let's go!


Input

A line containing an integer.

8

Output

Multiple lines containing an integer.

4
5
6
7
8






1
Expert's answer
2021-10-13T20:37:39-0400
j = int(input('Enter integer here: '))
for i in range(1,j+1):
    if i > 3:
        print(i)
Enter integer here: 8
4
5
6
7
8

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