Comment Comment by TrianguloY But wait, there's more, you can send data back to the function! (Will be returned as the yield output)https://stackoverflow.com/questions/20579756/passing-value-t...And don't forget "yield from" (same as yielding all values in a list, but keeps the original generator! You can send data back to the list if it is itself another generator!) parent TrianguloY 3 years ago
https://stackoverflow.com/questions/20579756/passing-value-t...
And don't forget "yield from" (same as yielding all values in a list, but keeps the original generator! You can send data back to the list if it is itself another generator!)