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 trialToheeb Ashorobi
1,782 Pointsmy function is not storing.
Im asked to work on line 3. Then to create a function named result and pass through the function so it can be stored.
What I wrote I thought suffices but its saying that its not being stored. Im not getting it or how this is possible?
def square(number):
return number * number
result = square(25)
1 Answer
Steven Parker
231,269 PointsThe instructions say, " Under the function definition, call your new function and pass it the argument 3."
But it looks like you're passing it "25" instead.
Toheeb Ashorobi
1,782 PointsToheeb Ashorobi
1,782 Pointsahhhh ok, thank you very much Steven. Im interpreting the questions incorrectly.