Only even numbers between 0 to 100 using for loop
#Write a program to print only even numbers between 0 to 100 using for loop
for x in range(100):
# Here Check if x is odd
if x % 2 == 1:
continue
print(x)
output:
#Write a program to print only even numbers between 0 to 100 using for loop
for x in range(100):
# Here Check if x is odd
if x % 2 == 1:
continue
print(x)
output: