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 Collections (Retired) Lists Redux Shopping List Take Three

Trying to run my shopping_list_3.py but i keep getting invalid syntax message

2 Answers

In 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.

Good Morning Jack Thank you for your help but I am still getting the same error after I delete both Ss

Can you post the current error message for us to see?

At 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.