Write a program and find odd number in the range

strat_range = int(input("enter a start range : "))
end_range = int(input("enter a end range : "))
print("All the odd number in the range is : ")

for i in range(strat_range,end_range+1):
if i %2 != 0:
print(i)

3 Likes

Correct @prasadrnag. Keep practicing