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

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

I done what they have asked but I don't know if I'm getting the function part correct?

function.py

I to put Print("Hello,__Treehouse"). Thank you for all your help I,M DOING awful in the next phase I don't uderstand and when the man is up there talking it seems like he wants you to fail I'm sorry I can't blame him this is just above my skill level.

6 Answers

Daniel Gauthier
Daniel Gauthier
15,000 Points

Hey Thomas,

The code you're looking for is:

print("Hello, Treehouse")

Remember to put the string in quotation marks (the Hello, Treehouse part is the string), and don't leave a space between print and the opening bracket or the code won't pass.

Good luck!

Thank you I'm really struggling with this I don't know if I will continue but thank you. The reason is I'M USED TO HAVING A PERSON IF YOUR HAVING A PROBLEM THEY GO OVER IT.THANKS AGAIN

REALLY THANKS

Thank you so much for taking the time to help I truly appreciate it THANK YOU.

Daniel Gauthier
Daniel Gauthier
15,000 Points

Hey Thomas,

Glad it helped you get through the challenge. Learning how to code in any language can be intimidating in the beginning, especially if you've never done it before, but one of the best things about studying a technical topic is that there s always a wealth of information available online. There are also a lot of places you can ask for help whenever you get stuck on a difficult problem, like these forums or Stack Overflow just to name two.

Hopefully things start to fall into place for you soon, good luck!

Print("Hello, Treehouse")'.

Print("Hello, Treehouse").

Print("Hello, Treehouse").