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.