34:03 duration 34 minutes 3 seconds
Symposium Dr Lisa Nishii
06:23 duration 6 minutes 23 seconds
Lesson 28.3 The yield Statement
Making iterator classes is hard. In this video, we show an alternative, allowing us to write the iterator as a ‘function”. This requires the addition of a new python statement, the yield…