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 .
Leer efficiënter, gratis:
Inleiding tot Python
7,1 miljoen leerlingen
Inleiding tot Java
4,7 miljoen leerlingen
Inleiding tot C
1,5 miljoen leerlingen
Inleiding tot HTML
7,5 miljoen leerlingen