Question d’entretien chez SLB

They ask me to write a Python function to find out a number is odd or even.