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 trialGeorgi Anil Jaicob
Python Web Development Techdegree Student 962 Pointscan't find the answer for square
def square(number):
return number * number
number = int(input("What is the number to be square root "))
square_root = square(number)
print (square_root)
2 Answers
Grga Jovanovski
823 PointsHi Georgi,
The challenge is asking you to just call your function with the number 3 as the parameter, and then save the result to a variable labeled result. It is not asking you to get the input from the user. This is why the challenge check is failing.