title: Iterate Through Two Lists From JSON To HTML Table | Flask
body: <p>The output, see how the character starts at the bottom when the other list ends:</p>
  
  <p><img src="https://i.stack.imgur.com/XMdI7.png" alt=""></p>
  
  <pre><code>&lt;table class="table"&gt;
    &lt;tr&gt;
      &lt;th&gt;Cast&lt;/th&gt;
      &lt;th&gt;Character&lt;/th&gt;
    &lt;/tr&gt;
      {% for cast in data[currentMovie]["cast"] %}
    &lt;tr&gt;
         &lt;td&gt;{{ cast }}&lt;/td&gt;
      {% endfor %}
      {% for char in data[currentMovie]["character"] %}
        &lt;td&gt;{{ char }}&lt;/td&gt;
   &lt;/tr&gt;
    {% endfor %}
  &lt;/table&gt;
  </code></pre>
  
  <p>What I would like to know is how to get it so its side by side, as right now the character starts at the end of the cast list. Any help is appreciated! The output is is shown above. </p>