title: Jinja template to calculate the average
body: <p>I'm trying to display the average of numbers using jinja template but I couldn't make it up.</p>
  
  <p>I'm getting the value of 'points' column from the Google app engine datastore entity 'Score'</p>
  
  <p>Using python code and taking it in jinja template and I wanted to calculate the average of points and display through this template.</p>
  
  <pre><code>{% for num in number%}
          {{num.points}}
  {% endfor %}
  </code></pre>