🧠 Python Visualizer


{% if trace %}

Execution Trace:

    {% for step in trace %} {% if step.error %}
  1. Error: {{ step.error }}
  2. {% else %}
  3. Line {{ step.line }} → Locals: {{ step.locals }}
  4. {% endif %} {% endfor %}
{% endif %} {% if output %}

Output:

{{ output }}
{% endif %}