csc-python-solutions/13/5 - Product
2021-02-18 08:49:56 +01:00

5 lines
63 B
Plaintext

def prod(L):
for i in L[1:]:
L[0] *= i
return L[0]