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






Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS