All odd number upto a user entered number

num_range=int(input("enter range upto which you want to find odd numbers : "))
print("all odd number upto ",num_range,“are :”)
for i in range(1,num_range):
if not(i%2==0):
print(i)
.

3 Likes

Correct. Good going , Keep practicing