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
[–] 7 points 1 year ago (1 child)

Well on one hand, I guessed correctly. (I'm not super familiar with Python)

On the other hand, that solution site is not exactly mobile friendly.

  • source
  • hideshow 1 child comment
  • [–] [S] 1 point 1 year ago

    You are right, in landscape mode it's better, but still not ideal. It's a project I don't have time for now. On the other hand, did you run Python code, in an IDE where the debugger visualizes the whole program state, on your Phone before?

  • source
  • parent