can someone help me out.
I need a loop that returns 3 results from a list for each loop
Example:
lst = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
for x in lst:
print(x[0])
print(x[1])
print(x[2])
should return
1,2,3
4,5,6
7,8,9
10,11,12
13,14,15
16
im using flask
{% for i in getdataasset %}
{{getdataasset[i]}}
{% endfor %}