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
In questa pagina del sito puoi guardare il video online Python Tutorial - 2 Ways To Calculate The Fibonacci Sequence della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Programming With Miko 18 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 359 volte e gli è piaciuto 4 spettatori. Buona visione!