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 Introducing Lists Build an Application Display the List

Elisa Burghard
Elisa Burghard
9,276 Points

Prints list when 'DONE'

It prints list when 'SHOW', but also when 'DONE'...

Also: I tried various times to add my workspace, it doesn´t upload it.

To share your workspace try a snapshot. It's the camera icon in the upper right corner. It creates a link and you just have to share the link.

1 Answer

Steven Parker
Steven Parker
231,236 Points

Line 39 contains a "show_list()" function call. It is the last thing that will happen after you enter "DONE" and before the program ends.

Just remove that line if you did not intend to display the list one last time.