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 trialPatrick Kearns
4,669 PointsNameError on input string
Hey team. I generally prefer to work locally just for easier tracking of files and future reference. When I run shopping_list_3.py locally, I get a NameError specifying that my input string isn't defined. If I copy my code directly into the treehouse workspace, it runs perfectly. I have noticed that there is a python versioning discrepancy between the two. Is that all I'm dealing with?
1 Answer
Saiteja Vemula
7,162 PointsCan you specify the code of shopping_list_3.py, and the version of Python installed in your machine.