Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cube_me squares #1

Closed
apalala opened this issue Jan 12, 2011 · 2 comments
Closed

cube_me squares #1

apalala opened this issue Jan 12, 2011 · 2 comments

Comments

@apalala
Copy link

apalala commented Jan 12, 2011

in koans/about_generators.py, the function cube_me actually squares.

def cube_me(self, seq):
for x in seq:
yield x * x

@gregmalcolm
Copy link
Owner

Heh, can't believe how long its taken for someone to pick up on that. Good catch!

@gregmalcolm
Copy link
Owner

Fixed by icmurray.

Change is available on github and bitbucket

gregmalcolm pushed a commit that referenced this issue Jul 9, 2014
zhenian added a commit to zhenian/python_koans that referenced this issue Aug 31, 2017
gregmalcolm pushed a commit that referenced this issue Aug 10, 2021
pedrocelito added a commit to pedrocelito/python_koans that referenced this issue Jan 19, 2022
bjbishop pushed a commit to bjbishop/python_koans that referenced this issue Oct 21, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants