'''Code for an INCORRECT function intended to return the product of the numbers in a list.''' def product(nums): for n in nums: prod = 1 prod = prod*n return prod print product([5, 2, 4, 7])