python check if a number is par or impar code example Example: how to know if the numbers is par in python if num % 2 == 0: pass # Even else: pass # Odd