Generators | Sololearn: Learn to code for FREE!
+ 5


I didn't understood the concept, can some one explain me

2nd Feb 2018, 12:37 AM
Aniket Mane
Aniket Mane - avatar
1 ответ
+ 3
@David Ashton shared to another thread. Yield is a keyword like return, except it returns a generator. You can also read here. I have an example how to use generators yield
2nd Feb 2018, 1:00 AM
Ferhat Sevim
Ferhat Sevim - avatar