Python Reduce Initial Value Of A Function