Corteva Agriscience interview question

Write the code for the Fibonacci sequence