Write
the
pytho
program to
display the even
number using loop.
Answers
Answered by
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. ")
have a great day ahead
Similar questions
English,
3 months ago
CBSE BOARD XII,
7 months ago
History,
7 months ago
English,
1 year ago
Art,
1 year ago