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

how do we paste our codes in the forum?

i have written a few codes and they are not compiling. i tried to copy paste them, but they all came in paragraph form. how can i post a screen shot of my codes so it would be easier for the experts to see where i am going wrong. thank you.

when posting a comment look at the Markdown cheatsheet right above the post comment button. It will tell you how to post code into your comments.

1 Answer

You can post code by using three backticks, then the name of the language (python in your case)

press enter and paste the code.

End your code with 3 more backticks on their own line.

The backtick is located next to the number 1 and above the tab key on most keyboards.

markdown

becomes this:

print "Hello World!"