Pergunta de entrevista da empresa SLB

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