Fibonacci Exercise - Fundamentals of Software Development with Python

preview_player
Показать описание
The Fibonacci sequence is a sequence of numbers that starts with 1, followed by 1 again.
Every next number is the sum of the two previous numbers. I.e., the sequence starts with 1, 1, 2, 3, 5, 8, 13, 21,...
Write a program that calculates and prints the Fibonacci sequence until the numbers get higher than 1000.
Рекомендации по теме
welcome to shbcf.ru