Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
I can't understand it completly
Okay. I can't understand what exactly i need to do in this task
Jeff MudayTreehouse Moderator 28,372 Points
Basically, they are looking to see if you have a basic understanding of how *args are passed into a function and how it can be iterated through.
Below is NOT the answer to the challenge, but shows how you would approach the problem. With a multiplication function, remember to start at 1.
def count_args(*args): count = 0 for arg in args: count = count + 1 return count