Question d’entretien chez Apple

How do you write a Fibonacci function with Python / C++?