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 Basic I/O

syntax errors

why is it that when i type the following code in my workspace, get an error. But when i run it from Python installed on my PC it does not give errors:

input("what is your name")

4 Answers

try using input_string = input("what is your name? ") print(input_string)

then maybe the version of python on your pc is different from the work space version

my question is: if i run it on my pc it doesnt give me syntax errors?

ok thank you .But i am using version 3.4. i see you are doing well?