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

Michael Akamihe
Michael Akamihe
767 Points

Reinforce

Isn't taco_joints.copy() a copy of a copy. Does that mean that taco_joints can be iterated on with no unexpected results?

1 Answer

Josh Keenan
Josh Keenan
20,315 Points

It means that no matter what you do the original list will stay the same and not be affected by any operations you carry out. So you can iterate over it without changing anything of the original copy.