An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 1 year ago

The whole point is to practice Python Data Model concepts, it's not a best-way-to-code example, so feel free to hate.

  • source
  • parent