Odd number upto the range given

num_range=int(input("enter range upto which you want to find odd numbers : "))
for i in range(0,num_range):
if i%2==0:
i = i+1
print(i,end=’ ')

2 Likes

Keep it up. Good going. Keep practicing :boom:

1 Like