how to know if the numbers is par in python

Solutions on MaxInterview for how to know if the numbers is par in python by the best coders in the world

showing results for - "how to know if the numbers is par in python"
Lindsay
02 Jan 2019
1if num % 2 == 0:
2    pass # Even 
3else:
4    pass # Odd