This is the solution of this problem in python: X = int(input())if(1 <= X <= 1000): for i in range(1,X+1,2): print(i)
No comments