Create 5 - Product

This commit is contained in:
Lukas Baumann 2021-02-18 08:49:56 +01:00 committed by GitHub
parent 0aeafe87da
commit 1acea68a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
13/5 - Product Normal file
View File

@ -0,0 +1,4 @@
def prod(L):
for i in L[1:]:
L[0] *= i
return L[0]