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

5 lines
76 B
Plaintext

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