Answer:
def product(factors):
'''Returns the product of all the numbers in the list factors.'''
i = factors[0]
for p in factors[1:]:
i *= p
return i
the docstring is a string that is the first statement in a function.
1.6m questions
2.0m answers