input: from flask import Flask, render_template, request, redirect
  import sqlite3
  
  def submit_form_data(form_data):
      """
      This function takes form data containing name, email, and phone, and stores it in a SQLite database.
      The function should return a redirect to the home page after storing the data.
      
      >>> submit_form_data({'name': 'John Doe', 'email': 'john@example.com', 'phone': '1234567890'})
      <Redirection to '/' status 302>
      """
      app = Flask(__name__)
      
      @app.route('/submit', methods=['POST'])
      def submit():
          name = request.form.get('name')
          email = request.form.get('email')
          phone = request.form.get('phone')
          
          conn = sqlite3.connect('data.db')
          cur = conn.cursor()
          
          cur.execute("INSERT INTO data (name, email, phone) VALUES (?, ?, ?)", (name, email, phone))
          conn.commit()
          
          return redirect('/')
      
      with app.test_request_context('/submit', method='POST', data=form_data):
          return submit()
output:     app = Flask(__name__)
      
      @app.route('/submit', methods=['POST'])
      def submit():
          name = request.form.get('name')
          email = request.form.get('email')
          phone = request.form.get('phone')
          
          conn = sqlite3.connect('data.db')
          cur = conn.cursor()
          
          cur.execute("INSERT INTO data (name, email, phone) VALUES (?, ?, ?)", (name, email, phone))
          conn.commit()
          
          return redirect('/')
      
      with app.test_request_context('/submit', method='POST', data=form_data):
          return submit()