program to find odd number by using python
Answers
Answered by
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
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
English,
5 months ago
Computer Science,
5 months ago
English,
5 months ago
Social Sciences,
10 months ago
Geography,
10 months ago
Math,
1 year ago
Math,
1 year ago