input: from typing import List, Tuple
  
  def select_movies_by_category(category: str) -> List[Tuple]:
      """ Executes an SQL query to select all movies from a given category.
      The function connects to an SQLite database named 'movies.db', executes
      the query, and returns the result as a list of tuples.
      
      >>> select_movies_by_category('horror')
      [(1, 'The Conjuring', 'horror'), (2, 'A Quiet Place', 'horror')]
      >>> select_movies_by_category('comedy')
      [(3, 'Step Brothers', 'comedy'), (4, 'Superbad', 'comedy')]
      """
      import sqlite3
      conn = sqlite3.connect('movies.db')
      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('movies.db')
      cursor = conn.cursor()
      
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
      
      result = cursor.fetchall()
      conn.close()
      
      return result