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! While you're at it, check out some resources Treehouse students have shared here.
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 trialMartin Valov
Courses Plus Student 208 PointsI can't understand it completly
Okay. I can't understand what exactly i need to do in this task
1 Answer
Jeff Muday
Treehouse Moderator 28,720 PointsBasically, 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