Python Tutor includes a box that displays any output that is produced as the program executes; this is something we might consider incorporating. This could either be exactly what the program outputs through things like print statements, or it could be a question that references the final state of the memory model or something. This would help students see the value of the memory model when trying to answer questions about the behaviour of the code.
Python Tutor includes a box that displays any output that is produced as the program executes; this is something we might consider incorporating. This could either be exactly what the program outputs through things like print statements, or it could be a question that references the final state of the memory model or something. This would help students see the value of the memory model when trying to answer questions about the behaviour of the code.