input: def execute_sql_in_python(db_path: str, table_name: str, category: str) -> None:
      """ Execute an SQL query in Python to select all records from a specified table where the category matches a given string.
      Print each row of the result.
      >>> execute_sql_in_python('movies.db', 'Movies', 'horror')
      (1, 'The Conjuring', 'horror', 2013)
      (2, 'Halloween', 'horror', 2018)
      (3, 'IT', 'horror', 2017)
      """
      import sqlite3
  
      conn = sqlite3.connect(db_path) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM {table_name} WHERE category = ?", (category,))
  
      result = cursor.fetchall()
      for row in result:
          print(row)
  
      conn.close()
output:     import sqlite3
  
      conn = sqlite3.connect(db_path) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM {table_name} WHERE category = ?", (category,))
  
      result = cursor.fetchall()
      for row in result:
          print(row)
  
      conn.close()