SLB Interview Question

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