Write a program with python which computes the Fibonacci sequence of numbers 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ... through the recurrence relation f_n = f_{n-1} + f_{n-2} and the starting values f_1=1, f_2=1 .
Impara in modo più efficiente, gratuitamente:
Introduzione a Python
7,1M studenti
Introduzione a Java
4,7M studenti
Introduzione a C
1,5M studenti
Introduzione a HTML
7,5M studenti