Q:

Write a Python program to multiplies all the items in a list

0

Write a Python program to multiplies all the items in a list.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

def multiply_list(items):
    tot = 1
    for x in items:
        tot *= x
    return tot
print(multiply_list([1,2,-8]))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now