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 trialMUZ141029 Humphrey Butau
3,276 Pointssyntax 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
MUZ140960 Silinganisiwe Dzumbunu
4,005 Pointstry using input_string = input("what is your name? ") print(input_string)
MUZ140960 Silinganisiwe Dzumbunu
4,005 Pointsthen maybe the version of python on your pc is different from the work space version
MUZ141029 Humphrey Butau
3,276 Pointsmy question is: if i run it on my pc it doesnt give me syntax errors?
MUZ141029 Humphrey Butau
3,276 Pointsok thank you .But i am using version 3.4. i see you are doing well?