Answers for "write a python program to check a given number is even or odd"

8

program to find even numbers in python

m = int(input("Enter number"))
if m % 2 == 0:
    print(m,"is an even number")
else:
    print(m,"is an odd number")
Posted by: Guest on July-24-2020
0

wap in python to check a number is odd or even

num = int(input("Enter a number: "))  
if (num % 2) == 0:  
  print(num ,"is even numbern")  
#CODE BY VENOM STONE
else:  
  print(num,"is Odd numbern")
#CODE BY VENOM STONE
Posted by: Guest on April-11-2021

Code answers related to "write a python program to check a given number is even or odd"

Python Answers by Framework

Browse Popular Code Answers by Language