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.
Source code
N=int(input("Enter a number: "))
for i in range(1,N+1):
if(i>3):
print(i)
Sample Output
Comments
Leave a comment