Why Reduce Function Is Used In Python