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 trialDennis Dumbreni
14,146 Pointssquare of a number
def Square(number):
num = int(input("Enter an integer"))
int sqaure =num*num
print("The square of",num, "is",square)
return square
1 Answer
Mark Sebeck
Treehouse Moderator 37,905 PointsHi Dennis. Nice try but you are over thinking it. Its only asking to make a function and return a value. You don't have to have the user enter anything. Also make sure you name the function square with a lowercase s. The challenge will test your function by calling it and if it can't find the correctly named function it won't pass even if the code is correct. Let me know if you need more help.
Dennis Dumbreni
14,146 PointsDennis Dumbreni
14,146 PointsThanks Mark helped a lot