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 trialPing-chien chen
173 Pointscan i have the answer of this answer?I can't figure it out myself
What's the answer of this question? What is "def"? def my_funtion_name(): print("hello, treehouse")
is that correct?
my_function_name():
'print("hellow,treehouse")'
3 Answers
jcorum
71,830 PointsYou made it harder than it was supposed to be. They didn't want you to write a function. They just wanted you to use the print function to print a String:
print("Hello, Treehouse")
Ping-chien chen
173 PointsI directly copy your answer, it still not work.....
jcorum
71,830 PointsNot sure what you did, but I just copied it and pasted it into the challenge and the editor accepted it.
Here's the challenge that I tried:
Challenge Task 1 of 1
Let's try something else! Again, you haven't done this yet, but you've seen it already. I need you to print something out for me.
Use the print() function to print the string "Hello, Treehouse".
Here's the code:
print("Hello, Treehouse")
I suggest you try again.