{% if 1 <= whichPage <= 4 %}
You are currently on page {{ whichPage }}
{% endif %}
{% for i in range(1, 5) %}
{% if i == whichPage %}
Page {{ i }}
{% else %}
Page {{ i }}
{% endif %}
, which you have chosen {{ session['counts'][i] }} times.
{% endfor %}
Reset