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 1 year ago

Akshay-Dongare commented 1 year 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