Answers for "how to get even number in python"

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
1

finding odd even python

number = int(input("Write a number:- "))
if number%2 == 0:
    print("Even number")
else:
    print("odd number")
Posted by: Guest on July-02-2021
-1

python even or odd

injd = int(input('Enter a number'))
n = injd % 2
if n > 0:
  print('This is an odd number')
else:
  print('This is an even number')
Posted by: Guest on October-26-2020

Code answers related to "how to get even number in python"

Python Answers by Framework

Browse Popular Code Answers by Language