Infosys interview question

Fibonacci sequence and detecting if a number is odd in Python.