Create 6 - for in.py
This commit is contained in:
parent
24f967986e
commit
e76f78acf5
4
13/6 - for in.py
Normal file
4
13/6 - for in.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
def prod(L):
|
||||||
|
for i in L[1:]:
|
||||||
|
L[0] *= i
|
||||||
|
return L[0]
|
Loading…
Reference in New Issue
Block a user