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 (2016, retired 2019) Lists Shopping List Take Three

Enzie Riddle
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Enzie Riddle
Front End Web Development Techdegree Graduate 19,278 Points

After beating game, "You win!" string flashes and disappears

Here's the link:

https://w.trhou.se/w3lffeiniv

Question is in the title. Please help! Also please explain in a way that is easy to understand; I haven't been doing this long.

Ryan S
Ryan S
27,276 Points

Hi Enzie,

Are you sure you have the correct workspace? You've linked to "shopping_list_3.py". There is no game and no "You win!" string anywhere in the code.

1 Answer

If you mean the list_app.py application:

Inside the add_to_list function: I found that you are calling the 'show_list()' at the beginning. Do it at the end rather, and the whole list will be displayed after appending the last item! Hope that helps. Let me know if that was not the issue?