title: How to print a dictionary within a list in jinja2?
body: <p>So far I managed to print a list with key-value pairs</p>
  
  <pre><code>attendance list
  {'Student ID': '15000000', 'Class attended': 1,'Total average score': 0.8}
  </code></pre>
  
  <p>code in html</p>
  
  <pre><code> {% for key,value in attendance.items() %}
      &lt;h1&gt;{{key}}&lt;/h1&gt;
      &lt;h2&gt;Value: {{value}}&lt;/h2&gt;
   {% endfor %}
  </code></pre>
  
  <p>How do I print for this list?</p>
  
  <pre><code>allAttendance List
  [{'Student ID': '15000000', 'Class attended': 1, 'Total average score': 0.8}, {'Student ID': '15000001', 'Class attended': 8, 'Total average score': 6.4}]
  </code></pre>