write a python program to check whether a number is Even or Odd.
num = int(input("Enter a Number :"))
if num%2==0:
print(num,"is Even")
else:
print(num,"is Odd")
for execution and output so check the video.
write a python program to check whether a number is Even or Odd.
num = int(input("Enter a Number :"))
if num%2==0:
print(num,"is Even")
else:
print(num,"is Odd")
for execution and output so check the video.
Comments
Post a Comment