input: Write a function to insert data into a SQLite table and verify with assertions.
  assert insert_data([('China', 'China', 1400000000), ('India', 'India', 1300000000)]) == [(1, 'China', 1400000000), (2, 'India', 1300000000)]
  assert insert_data([('USA', 'USA', 330000000)]) == [(3, 'USA', 330000000)]
output: import sqlite3
  
  def insert_data(data):
      connection = sqlite3.connect(':memory:')
      cursor = connection.cursor()
      
      cursor.execute('''
      CREATE TABLE country_population (
          id INTEGER PRIMARY KEY AUTOINCREMENT,
          country TEXT NOT NULL,
          population INTEGER NOT NULL
      )
      ''')
  
      cursor.executemany('''
      INSERT INTO country_population (country, population) VALUES (?, ?)
      ''', [(country, population) for country, _, population in data])
      
      cursor.execute('SELECT * FROM country_population')
      result = cursor.fetchall()
      
      connection.close()
      return result