title: Using indexes of a list passed from flask in html
body: <p>I'm trying to pass a list from flask via this code:</p>
  <p>.</p>
  <p>package1 = ['1', 'Jackson', 'newyork','No8', '+10880275896']</p>
  <p>render_template(&quot;index.html&quot;, package1=package1)</p>
  <p>.</p>
  <p>on the other side I took the parameter into an html input to use it like this:</p>
  <p>.</p>
  <p>&lt; input type=&quot;text&quot; id=&quot;name&quot; value=&quot;{{ package1}}&quot; &gt;
  .</p>
  <p>please guide me anyone:  &quot;how I can access to the indexes in the HTML code&quot;</p>
  <p>meant for example using index 0 of the list :</p>
  <pre><code>           package1[0]
  </code></pre>