Skip to content

Python program to create Fibonacci series using generator function

License

Notifications You must be signed in to change notification settings

ahmar-js/Fibonacci-Series

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fibonacci-Series Using Generator Function

List of Fibonacci numbers up to the number n which will pass to a function as an argument. The number n is input at runtime.

They are calculated using the following formula: The first two numbers of the series is always equal to 1, and each consecutive number returned is the sum of the last two numbers.

The first number in the series should be 1. (The output will start like 1,1,2,3,5,8,…)

About

Python program to create Fibonacci series using generator function

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages