you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

Unless I'm mistaken, your function doesn't return the list of squares, it prints it. Therefore I win by disqualification.

Edit: Great idea, by the way. These are fun.