I was going through this solution of pset6 (more comfortable) and I fail to understand the following for loop:
{% for i in range((s2)|length + 1) %}
<th>{{i}}</th>
{% endfor %}
Specifically, I want to know, what is length, from where are we getting it and why does removing it gives an internal server error.