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:

  • Mose13@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago
    My guess

    It’s C. And if that’s wrong, it has to be D. There is no way it’s A or B

    • bterwijnOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      7 months ago

      C is incorrect,sorry. See the “Solution” link for the correct answer.