Question d’entretien chez Miratech

Python generators what and why we need it. And a example code

Réponse à la question d'entretien

Utilisateur anonyme

9 sept. 2023

On demand creating values . Which Leads to memory efficiency in code . It uses a yield in return from a function to create a generator