+ 1
Please explain me what is recursion and how to use it?
7 ответов
+ 2
Recursion will be explained in lesson 68 of Python Core
+ 1
Recursion is a thing you should to avoid
+ 1
+ 1
Cristian Gabriel Mazzulla Also, loops work faster in Python and it is easier to understand, so I prefer it
+ 1
til’ Highlight "easier to understand" haha
0
til’ you mean by the fact that to get to the 30th of the Fibonacci series with my recursive function, it needs to be called >7,000,000 times?
whereas with a normal loop, to get to N number of the series you only need N+1 iterations?