🧠Python Visualizer
{% if trace %}
Execution Trace:
{% for step in trace %}
{% if step.error %}
- Error: {{ step.error }}
{% else %}
-
Line {{ step.line }} → Locals: {{ step.locals }}
{% endif %}
{% endfor %}
{% endif %}
{% if output %}
Output:
{{ output }}
{% endif %}