input: 
  from flask import Flask, render_template, request, redirect
  import sqlite3
  
  def save_form_data_to_db(name: str, email: str, phone: str) -> None:
      """
      Save the submitted form data (name, email, phone) into a SQLite database.
      The data is stored in a table named 'data'.
      
      >>> save_form_data_to_db('John Doe', 'john.doe@example.com', '1234567890')
      # Data saved successfully: ('John Doe', 'john.doe@example.com', '1234567890')
      >>> save_form_data_to_db('Jane Smith', 'jane.smith@example.com', '0987654321')
      # Data saved successfully: ('Jane Smith', 'jane.smith@example.com', '0987654321')
      """
      
      conn = sqlite3.connect('data.db')
      cur = conn.cursor()
      
      cur.execute("INSERT INTO data (name, email, phone) VALUES (?, ?, ?)", (name, email, phone))
      conn.commit()
      conn.close()
  
output:     conn = sqlite3.connect('data.db')
      cur = conn.cursor()
      
      cur.execute("CREATE TABLE IF NOT EXISTS data (name TEXT, email TEXT, phone TEXT)")
      cur.execute("INSERT INTO data (name, email, phone) VALUES (?, ?, ?)", (name, email, phone))
      conn.commit()
      conn.close()