How to set counter value to 0 and increment in for loop in Jinja 2 Flask and do something based on counter value condition?

后端 未结 0 1832
误落风尘
误落风尘 2020-12-12 02:37

I want to set up a counter value to 0 and increment in a for loop in Jinja 2. I wanted to do something based on the counter value if condition when the counter value is 2. I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题