Create 6 - for in.py

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

4
13/6 - for in.py Normal file
View File

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