Domanda di colloquio di SLB

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