Last active
January 8, 2019 15:27
-
-
Save svngoku/0b090ca04f593ebbed196e3e4131a6ac to your computer and use it in GitHub Desktop.
Fibonacci series created by svngoku - https://repl.it/@svngoku/Fibonacci-series
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## function of Fibonacci series | |
| def fib(n): | |
| a, b = 0, 1 | |
| while a < n: | |
| print(a , end= '') | |
| a , b = b , a + b | |
| print() | |
| fib(2000) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fibonacci Series numbers