title: Jinja2 multiple variables in same for loop
body: <p>I would like to populate the same section of a Jinja2 for loop with data from 2 separate SQL queries using Python / Webapp2 / Jinja2.</p>
  
  <p>Specifically, I am storing team info in a variable called "team" and score info in a variable called "wins".  I need to position some data from the wins variable directly after data from the team variable but cannot figure out how to do this within a for loop.</p>
  
  <p>Here is a simplified version of what I am trying to achieve:</p>
  
  <pre><code>{% block content %}
  {% for team in team %}
          &lt;div&gt;{{ team[0] }} record: {{ wins[1] }}&lt;/div&gt;
          &lt;div&gt;{{ team[1] }} and {{ team[2] }}&lt;/div&gt;
          &lt;div&gt;{{ team[3] }}&lt;/div&gt;
  {% endfor %}
  {% endblock %}
  </code></pre>
  
  <p>What is the best way to do this? I need to get that "wins" variable called but cannot determine how. Any help is appreciated.</p>