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 Using Lists Review Mutability

aditya verma
aditya verma
1,853 Points

The code in 2nd question (on tacos) doesnt give any output, is that planned?

I copy pasted it in python, the code didnt give any output.

1 Answer

Steven Parker
Steven Parker
231,269 Points

You can assume this snippet represents just a piece of a larger program. This piece doesn't create any output, but it's enough of an example for the question being asked.

In general, the quizzes are to test your ability to read and understand the code — you can expect that the examples shown will not be complete programs in most cases. Some may not even run without errors if executed independently.