Domanda di colloquio di Silverline

Write a function that generates the nth entry in the Fibonacci sequence.