Find odd numbers between 1 to 100 using for loop

 # Write a program to print only odd numbers between 1 to 100 using for loop

for x in range(100):
    # Here Check if x is even
    if x % 2 == 0:
        continue
    print(x)

Output: 



Popular posts from this blog

Python Programming Practical no 1

Python Progrmming Practical No 3