What's wrong with that?
def product(numbers):
for i in numbers:
if i==numbers:
return goal


can you explain why you used this code:

if i==numbers:

i contain values from the list, numbers is the list. Integers and list do never equal each other


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.