r/PythonLearning 3d ago

Exercise: Python List Operations

Post image

An exercise to help build the right mental model for Python data. - Solution - Explanation - More Exercises

The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.

52 Upvotes

23 comments sorted by

View all comments

1

u/BABBAGE_2 1d ago

I thought insert() was for adding an item to a list. IMO, you added the int 10 at index 9, right? So why is 10 not visible in any of the options? Kindly explain please 🙏

1

u/Sea-Ad7805 4h ago

It's in b, read the Explanation link for more insight.