Find given number is even or odd
A number which is divisible by 2 and gives remainder 0 then it called as even number and rest of the numbers called as odd numbers.
Input:
5
Output:
Odd
Explanation:
n=5
n is divisible by 2 and but not gives remainder 0 then it is odd.
Code:
a=int(input())
if(a%2==0):
print("Even")
else:
print("Odd")
if(a%2==0):
print("Even")
else:
print("Odd")
Hello Guys, Don't Stop Learning keep Going..............