Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Challenge task 2 of 2 my new question is I have no clue and I am paying for this. I have been taking note pausing every
great now that you have created your new square method let's put it to use, under the function call your new function ca
def square(number): result = number * number return result square(5) def result(number * number):
Rohald van MerodeTreehouse Staff
Hi shaylee pavlis 👋
Sorry to hear you ran into an issue with this challenge and creating your post. When asking a question on the forums you'll be prompted with two text fields. The first one is for a Title of your post, this field indeed has a limited number of characters. In the "Add question details" field however you can add as much text as you'd like 🙂
As for your question you are currently defining another function called
result. The challenge want's you to store the result of the function call on the fourth line into a variable named result.
This would looks something like this:
def square(number): return number * number; result = square(3)
Since you're a Techdegree student I'd also highly recommend to join the Slack community for this Techdegree if you haven't done so already. You can find an invite link to it on your Techdegree Homepage. This is the best place to ask your questions as this community is filled with fellow Techdegree students as well as Staff that are ready to help you out with any issues you may run into on your coding journey.
I hope this answers your question and helps you to get going again! If not let me know and I'd be happy to elaborate! 😄
I am so upset I paid 200 dollars to find out I am locked out as a beginner. I can't even post my whole question. I just bought from UDEME and think that is money better spent I paid 12$ on sale from 89$ but I own it 100 days of coding. I own the course for life and yes it has a certificate. I have to hope to phone a friend and wait until some might help. question Great now that you Have created your new square method let's put it to use. Under the function call your new function and pass it to argument 3. since your square function returns a value, create a new variable, create a new variable named result to store the value from the function call.
It would be great if this website was more user friendly since it is a web development instruction service.