0
When multiplying the Integers of a list, why does this method work??
>>> reduce(lambda x, y: x*y, [1,2,3,4,5,6]) 720
1 Respuesta
0
I believe that works because x and y are taken as it moves down the list taking the new number as x and multipling the next number