sohamm20 / Hacktoberfest_2022_MMCOE

The purpose of this repository is to help and motivate students to contribute in open source, Also encourage them to complete the hacktoberfest 2022
1 stars 22 forks source link

Create yield.py #63

Closed Akshay-Dongare closed 2 years ago

Akshay-Dongare commented 2 years ago

Using 'yield' to generate suspended computations

The next computation is done only on request of user

In this example, we compute primes on demand