in koans/about_generators.py, the function cube_me actually squares. def cube_me(self, seq): for x in seq: yield x \* x
in koans/about_generators.py, the function cube_me actually squares.
def cube_me(self, seq):
for x in seq:
yield x * x