Hacker News new | ask | show | jobs
by ecounysis 5235 days ago
> The Python version seems to be using an interpreter that frankly just doesn't work:

  NameError: name 'reduce' is not defined
1 comments

If it's python3, the previously built-in reduce() has been relegated to the functools module. But I don't think this is python 3.

I'm not sure what it is, but I know I don't like "guess which subset of the language you get" being harder than actually solving the algorithms challenges.