LTIMindtree interview question

Python code on Fibonacci series