Welcome to the Treehouse Community
Looking to learn something new?
kshitij deopaCourses Plus Student 1,318 Points
def multiply(*args): total = 1 for item in args: total = total *item return total
Chris HowellPython Web Development Techdegree Graduate 49,610 Points
Hey kshitij deopa
So it looks like you are return ing too soon. You need to loop through every item in args before you return.
The way your code currently reads, you are entering the loop, multiplying the first item and storing it in the total then you are immediately returning. So you need to let you loop finish and then return total when its all done :)