{% for turn in range(9) %} {% for row in range(3) %} {% for col in range(3) %} {% endfor %} {% endfor %} {% endfor %}

Play again.