input: from typing import List, Any
  import sqlite3
  
  def sql_to_python_query(database_path: str, table_name: str, condition: str) -> List[Any]:
      """ Re-writes a given SQL query into its Python equivalent. The function takes
      the path to a SQLite database, the name of a table and a condition in string form.
      It executes a SELECT * query with the given condition and returns the result as a
      list of tuples.
      
      >>> sql_to_python_query('movies.db', 'Movies', "category = 'horror'")
      [('Horror Movie 1', 'horror', ...), ('Horror Movie 2', 'horror', ...)]
      """
      
      conn = sqlite3.connect(database_path) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM {table_name} WHERE {condition}")
      
      result = cursor.fetchall()
      conn.close()
      return result
output:     conn = sqlite3.connect(database_path) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM {table_name} WHERE {condition}")
      
      result = cursor.fetchall()
      conn.close()
      return result