Log in

Vault Password puzzle (Python) - are some functions disabled?

  • 6 Apr '17

I'm not totally sure if this is a deliberate feature or a bug, but if it's a feature then it doesn't seem to be documented anywhere I've seen.

In Vault Password, the python builtin function reduce() causes a NameError: name 'reduce' is not defined. The function name still gets syntax-colored gray like other, working, builtin functions such as range(). I'm moderately sure I remember using reduce() in at least one other mission.

If this behavior is intended, it should be documented somewhere findable, such as the mission description sidebar; otherwise, it should be corrected.

  • 12 Apr '17

Empire of code uses Python3 which removed reduce() as a builtin function.


  • 12 Apr '17

Aha, thank you.