title: how to pass data to html page using flask?
body: I have a small application where input is taken from the user and based on it data is displayed back on the HTML. I have to send data from flask to display on HTML but unable to find a way to do it. There's no error that I encountered.
  <p>[Here is my code:][1]</p>
  <pre><code>&lt;pre&gt;
  from flask import Flask,render_template
  app = Flask(__name__)
  
  data=[
      {
          'name':'Audrin',
          'place': 'kaka',
          'mob': '7736'
      },
      {
          'name': 'Stuvard',
          'place': 'Goa',
          'mob' : '546464'
      }
  ]
  
  
  @app.route(&quot;/&quot;)
  def home():
      return render_template('home.html')
  
  if __name__ == '__main__':
  app.run(debug=True)
  </code></pre>