Styrow.dev
Question 19 of 45
Python Topic: General medium

What are generators in Python?

Question

What are generators in Python?

Answer

The way of implementing iterators are known as generators. It is a normal function except that it yields expression in the function.


šŸ“² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.