Pergunta de entrevista da empresa Charles Schwab

Write a function to find the nth term in the Fibonacci sequence