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 trial

Aizah Sadiq
2,435 PointsI wasn't able to get the solution for the challenge
What does it mean by defining a single parameter can someone post their code
4 Answers

Steven Parker
241,435 PointsThis question is linked to a video instead of a challenge, but here's a generic example of a function defined to take a single parameter:
def add_six(val):
return val + 6;
In this case, "val" is the single parameter.

Aizah Sadiq
2,435 PointsDoes the question give the single parmeter?

Aizah Sadiq
2,435 PointsWhat do the squiggly brackets do

Steven Parker
241,435 PointsSorry, that was a JavaScript example, I revised it and added a comment to my answer.

Aizah Sadiq
2,435 PointsI was reffering to the thats odd challenge

Steven Parker
241,435 PointsOK, so the structure will be similar to my example but the expression that the function returns will be different.
Steven Parker
241,435 PointsSteven Parker
241,435 PointsThose {} characters are normally called "braces" or "curly braces", and they mark the beginning and end of a function's code body in JavaScript. But I see now that your question relates to Python so I changed the example.