Create 7 - Mystery Function

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

4
13/7 - Mystery Function Normal file
View File

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