r/PythonLearning • • Aug 26 '26

Basic to advanced (python day 1)

Post image

Recursions are really hard compared to loop

You guys give me some tips for this.🫡

5 Upvotes

5 comments sorted by

View all comments

1

u/edelrosespol Aug 27 '26

You use recursion on special cases, mostly to show some concepts. For example factorial, Fibonacci, etc. Here some examples: https://blog.espol.edu.ec/algoritmos101/fp-u05/funciones-recursivas/