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 trial

Python Python Basics (2015) Python for Beginners Call a function

I'm stuck on the 2nd question in python basics ("Hello, Treehouse")'. What's wrong

Use the print() function to print the string "Hello, Treehouse"


3 Answers

Hi Thomas,

That should look like:

print("Hello, Treehouse")

I can't see what you've done so I hope that helps!


That is exactly what I did and passed that part but it keeps going back to it. I think that there's something wrong and when you ask for direction you will be lucky to get it 6 hours later. I can't learn like that I think I need hands on classes.

Hi Thomas,

I just tried that code and it worked for me. A direct copy/paste works fine - the challenge will be looking for a very specific output, so any changes in capitalisation, punctuation or spacing may cause the code to fail. The tests are looking for the precise string, "Hello, Treehouse" inside of the print() parentheses.


I tried the above and I still got an error message

Hi Pawel,

Can you post your code and the error message, please?


Hi Steve. Sorry for not responding sooner. I got the thing working. Thanks.