Python generators code tutorial: