If you’re familiar with functions in Python, then you know that it’s quite common for one function to call another. In Python, it’s also possible for a function to call itself! A function that calls itself is said to be recursive, and the technique of employing a recursive function is called recursion.
It may seem peculiar for a function to call itself, but many types of programming problems are best expressed recursively.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...
The rest of the course covers:
Tree traversal
File trees
Sorting algorithms
How quicksort implements recursion
Sur cette page du site, vous pouvez voir la vidéo en ligne Starting With Recursion in Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Real Python 22 juin 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,583 fois et il a aimé 69 téléspectateurs. Bon visionnage!