Today I will be showing you two python programs that calculate and retrieve the nth Fibonacci number in the sequence. The first way will be using a loop and the second way will be using a recursive function
The Fibonacci numbers are a famous series of numbers where each number is the sum of it's two preceding numbers. The Fibonacci sequence is also very closely related to the golden ratio.
Video timestamps:
0:55 Iterative function using a loop
3:38 Recursive function
En esta página del sitio puede ver el video en línea Python Tutorial - 2 Ways To Calculate The Fibonacci Sequence de Duración hora minuto segunda en buena calidad , que subió el usuario Programming With Miko 18 abril 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 359 veces y le gustó 4 a los espectadores. Disfruta viendo!