input: from typing import List, Any
  
  def select_movies_by_category(database: str, category: str) -> List[Any]:
      """ Re-writes the given SQL query in Python to select all movies from a specific category.
      >>> select_movies_by_category('movies.db', 'horror')
      [(1, 'movie1', 'horror'), (2, 'movie2', 'horror'), ...]
      """
      import sqlite3
  
      conn = sqlite3.connect(database) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
  
      result = cursor.fetchall()
      for row in result:
          print(row)
  
      conn.close()
      return result
output:     import sqlite3
  
      conn = sqlite3.connect(database) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
  
      result = cursor.fetchall()
      conn.close()
      return result