Reduce Function In Python Examples