input: from typing import List
  
  def execute_sql_query(database_name: str, table_name: str, condition: str) -> List[tuple]:
      """
      Execute a SQL query in Python and return the results.
      >>> result = execute_sql_query('movies.db', 'Movies', "category = 'horror'")
      >>> for row in result:
      ...     print(row)
      (1, 'It', 'horror')
      (2, 'The Conjuring', 'horror')
      """
      
      import sqlite3
      
      conn = sqlite3.connect(database_name) 
      cursor = conn.cursor()
      
      query = f"SELECT * FROM {table_name} WHERE {condition}"
      cursor.execute(query)
      
      result = cursor.fetchall()
      conn.close()
      
      return result
output:     import sqlite3
      
      conn = sqlite3.connect(database_name) 
      cursor = conn.cursor()
      
      query = f"SELECT * FROM {table_name} WHERE {condition}"
      cursor.execute(query)
      
      result = cursor.fetchall()
      conn.close()
      
      return result