Python's reduce function has an optional starting value argument: http://docs.python.org/library/functions.html#reduce
Python's reduce function has an optional starting value argument: http://docs.python.org/library/functions.html#reduce