Python Reduce Function Examples Input