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 .
Learn more efficiently, for free:
Introduction to Python
7.1M learners
Introduction to Java
4.7M learners
Introduction to C
1.5M learners
Introduction to HTML
7.5M learners