Python has generators. They may be used for a practice of coroutines. In this post, we will learn about generators and Coroutines in Python. Before understanding the generators and coroutines we will have to be acquainted with the concept of an Iterator.