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 trialSimon Whitwick
Courses Plus Student 199 PointsWhat does "pass it the argument 3" mean in the challenge
Hi. In question 2 of the challenge for functions, it states to "Under the function definition, call your new function and pass it the argument 3".
What is this asking for "pass it the argument 3"?
thanks
1 Answer
Ashraf Khalifa
12,317 PointsYes pass the integer 3 as an argument in your function call. For example if i had a function called my_function, the function call with the argument of 3 would look like this my_function(3). Remember arguments are what go int he () of the function call and parameters are what come in () after the function name when when creating the function. Hope this helps.