Python Example Program to Check if a Number is Even or Odd ( User Input). A number is even if it is perfectly divisible by 2. When the number is divided by 2, we use the remainder operator % to compute the remainder. If the remainder is not zero, the number is odd. Please smash the like button and subscribe to my channel :(