input: def select_movies(db_path: str, category: str) -> list:
      """
      Connects to the SQLite database and executes a query to select all movies of a specified category.
      Returns the result as a list of tuples.
      
      >>> select_movies('movies.db', 'horror')
      [(1, 'The Exorcist', 'horror', 1973), (2, 'Halloween', 'horror', 1978)]
      >>> select_movies('movies.db', 'comedy')
      [(3, 'Monty Python and the Holy Grail', 'comedy', 1975)]
      """
      import sqlite3
      
      conn = sqlite3.connect(db_path)
      cursor = conn.cursor()
      
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
      result = cursor.fetchall()
      
      conn.close()
      return result
output:     import sqlite3
      
      conn = sqlite3.connect(db_path)
      cursor = conn.cursor()
      
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
      result = cursor.fetchall()
      
      conn.close()
      return result