Question d’entretien chez Silverline

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