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 trialRoderick Sailes
Courses Plus Student 1,018 PointsTrying to run my shopping_list_3.py but i keep getting invalid syntax message
2 Answers
Jack Stout
2,796 PointsIn the error message, there's a caret pointing to the syntax error. It's showing you that the 'S' at the end of the line shouldn't be there. Try deleting that letter and running it again.
Gordon Reeder
2,521 PointsAt the bottom of your script; 1)Get rid of the extraneous 'S' at the end of the last line. 2) Line 39 should be indented. 3) Line 38 should end with a ':'.
Hope that helps.
Roderick Sailes
Courses Plus Student 1,018 PointsRoderick Sailes
Courses Plus Student 1,018 PointsGood Morning Jack Thank you for your help but I am still getting the same error after I delete both Ss
Jack Stout
2,796 PointsJack Stout
2,796 PointsCan you post the current error message for us to see?