title: Returning array values to HTML ends up writing the product 10 times, instead of once
body: <p>I am trying to return 2 array values, product name and product price, I did this in HTML:</p>
  
  <pre><code>&lt;tbody&gt;
        {% for name in farmingMerchantName %} {% for npcBuy in
        farmingMerchantPrices %}
        &lt;tr&gt;
          &lt;td&gt;{{ name }}&lt;/td&gt;
          &lt;td&gt;temp&lt;/td&gt;
          &lt;td&gt;{{ npcBuy }}&lt;/td&gt;
          &lt;td&gt;temp&lt;/td&gt;
        &lt;/tr&gt;
        {% endfor%} {% endfor %}
      &lt;/tbody&gt;
  </code></pre>
  
  <p>and I did this in python:</p>
  
  <pre><code>@app.route('/bresell')
  def reSell():
      farmingMerchantPrices = [
          "5",  # cocoa beans
          "12",  # brown mushroom
          "2.328125",  # carrot
          "8",  # pumpkin
          "2.328125",  # wheat
          "12",  # red mushroom
          "2.328125",  # potato
          "4",  # sand
          "5",  # sugar cane
          "2",  # melon
      ]
      farmingMerchantName = [
          "Cocoa Beans",
          "Brown Mushroom",
          "Carrot",
          "Pumpkin",
          "Wheat",
          "Red Mushroom",
          "Potato",
          "Sand",
          "Sugar Cane",
          "Melon"
      ]
  
      return render_template('resell.html', farmingMerchantPrices=farmingMerchantPrices, farmingMerchantName=farmingMerchantName)
  </code></pre>
  
  <p>And here is the output:
  <a href="https://i.stack.imgur.com/ShW5e.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ShW5e.png" alt="output"></a></p>
  
  <p>And it goes on like that for all the products in "farmingMerchantName" array.</p>
  
  <p>I need to to write the product, with the correct price (name1 = price1, name2 = price2, and so on).</p>
  
  <p>Thanks</p>