So, I'm newer to Python and I'm messing around with math functions and
multiplication, etc. here is my line of code:
def multiply(numbers):
      total = 1
             for x in numbers:
             total *= x
             return total
print(multiply((8, 2, 3, -1, 7)))

When I run this, my answer is 8 but it should be 336 can some help ._.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to