Recursion is when you call a function inside the same function to do repetitive algorithms. I used this method in a Quiz to make a function that returns to you the position on the fibonacci sequence. Here is the code i used:
As you can see i did not use loops whit excersice.
No hay comentarios:
Publicar un comentario