I taken for in which I can't use loop index due to some reasons.I want to use something like {{set i=0}} and using modulo{%} with that I variable.in jinja template.
I used
{{Set i=1}}
{% for item in items %}
{% if I % 2==0%}
Print("hello")
{% endif%}
{% set i=i+1 %}
{% endfor%}
It's not working