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 (Retired) Say Hello to Python The Shell

I am writing the same exact information but its not printing anything..Thanks

Problems in the console

rydavim
rydavim
18,813 Points

Could you please include what you're typing and the errors you're receiving? It's difficult to determine what might be going wrong with so little information!

1 Answer

If you are doing this locally are you sure you running python3. Run python --version to make sure that it is the correct version. If you are running python 2.7 you will want to try running the command python3 to see if you have python3 installed. If you do not you'll want to install python 3. Instructions for this can be found for you platform Mac/Windows/Linux on the python website

Though this more then likely isn't the issue because print("Hello, World") should run in both python 2 and python 3

More info could help others provide a better answer.