Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

James Timberlake
2,155 PointsWhy is my shopping cart not working in python? I have gone line by line. what am I missing?
https://w.trhou.se/wmh16yjokc is the link to my snapshot.
When I run the code it jumps outside the loop and prints the end, before restarting the loop. Typing DONE (which is supposed to end the loop) ends the script.
Seems to be exactly like the example code...What am I missing???
1 Answer

James Timberlake
2,155 PointsI guess I posted this a bit too soon. Sorry. I was able to figure it out, just had to look at a bit longer. I had my indents off. Works now!!!!
James Timberlake
2,155 PointsJames Timberlake
2,155 PointsAlso, here is the forked version: https://teamtreehouse.com/workspaces/7008842