Computer Science, asked by aishwariyaharini26, 5 months ago

write a program to display all three digit even number

Answers

Answered by priyanshumeel3
1

Answer:

Python Code: num = int(input("Enter a number: ")) mod = num % 2 if mod > 0: print("This is an odd number. ") else: print("This is an even number.

Answered by allysia
1

Answer:

A python program goes like:

\\\tt for\ i\ in\ range(100, 1000): \\\tt{\qquad    if\ i\%2==0:}\\\tt {\qquad{\qquad print(i)}} \\\tt{\qquad  else:}\\\tt {\qquad{\qquad  pass}}

Similar questions