{% for i in range(start, end) %}
{{ tv_shows[i]["title"] }} ({{ tv_shows[i]["year"] }})
{% endfor %}