Computer Science, asked by deepavaja222, 10 months ago

program to find odd number by using python

Answers

Answered by kabirsingh18
1

Answer:

Hey there

>>> num = int (input ("Enter a number: "))

>>> if num%2 == 0 :

>>> print ("The number is even")

>>> else :

>>> print ("The number is odd")

Hope it helps you

Please mark it as branliest

Answered by krishp4204
0

hi hiral

Python Program to Check if a Number is Odd or Even

num = int(input("Enter a number: "))

if (num % 2) == 0:

print("{0} is Even number". format(num))

else:

print("{0} is Odd number". format(num))

sorry to disturb u,

hope you r well

(◠‿◕)

Similar questions