{% for i in range(start, end) %}
{{ tv_shows[i][0].title }} ({{ tv_shows[i][0].year }})
{% if tv_shows[i][1] %}
{% endif %}
{% endfor %}