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