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

Jake Salo
Jake Salo
13,175 Points

how to do python?

if I do

print "python stuff"

what will happen?

11 Answers

Josh Keenan
Josh Keenan
20,315 Points

Hey Jake, I don't want to look to the computer to the left of me to answer your question as I want internet points, so here I am. Your code does nothing so I will explain why.

print("Python stuff")

This will output the string 'Python stuff', but if you don't use the parentheses (<- brackets like these ->) it doesn't understand what it should do and throws an exception!

Josh Keenan
Josh Keenan
20,315 Points

Kenneth LoveS us all, ha, get it? I'm a great comedian, I think..

Josh Keenan
Josh Keenan
20,315 Points

I'd recommend repeating the python basics course by Kenneth, he will explain it better than I ever could!

Josh Keenan
Josh Keenan
20,315 Points

It's because his surname is love, if you added the letter 'S' to his surname it becomes the word 'loves' and in the context it becomes humorous

Josh Keenan
Josh Keenan
20,315 Points

Luckily you're in the right place, TeamTreehouse! Kenneth Love is teaching the course, here's the link if you want to redo the course! https://teamtreehouse.com/library/python-basics

Jake Salo
Jake Salo
13,175 Points

I still don't get it

Jake Salo
Jake Salo
13,175 Points

I have already but he doesn't lyke me

Jake Salo
Jake Salo
13,175 Points

I don't get it - please xplaine

Jake Salo
Jake Salo
13,175 Points

ok thanks - now I get it. But I still don't understand how to do python, plez halp

Jake Salo
Jake Salo
13,175 Points

ok ill have a look - thanks Josh Keenan! :D (My name is jake by the way)