Hacker News new | past | comments | ask | show | jobs | submit login

Reduce isn't used much. Things that tend to use reduce in languages like Haskell tend to be built from other primitives in Python.

Instead of reduce, you could use https://docs.python.org/3/library/functions.html#__import__

    __import__('functools').reduce



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: