Reduce Lambda In Python Example