2026-08-25 19:14:07 -06:00

7 lines
115 B
Python

def helper(listt):
prod = 1
for val in listt:
prod = prod*val
return prod
print(helper([1,2,3]))