Corteva Agriscience Interview Question

Write the code for the Fibonacci sequence