Even or odd
If the given number is divisible by 2 means that is Even number. If the given number is not divisible by 2 means that is Odd number.
Example-1:
Input : n = 4 Output : Even
Example-2:
Input : n = 5 Output : Odd
Solution
n = 2 if(n % 2 == 0): print("Even") else: print("Odd")
Output
Even