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) Ins & Outs String Concatenation

Error line 1b

name = input(" what's your name? ")

if name == "kim": print (name + "is a lumberjack") else: print (name + "So fucking un-lovable person") ***It doesn't work I'm using Python 2.8

1 Answer

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Python 2.8 doesn't exist as a real Python version. All of our courses are written against Python 3.4, so you should be using that instead.

The problem with your above code, though, is that input() in Python 2.x doesn't work like it does in Python 3.x. You should use raw_input() instead.