input: from typing import List, Tuple
  import sqlite3
  
  def select_movies_by_category(db_name: str, category: str) -> List[Tuple]:
      """ Execute an SQL query to select all movies from the Movies table that belong
      to a specific category. Return the result as a list of tuples.
      >>> select_movies_by_category('movies.db', 'horror')
      [('The Exorcist', 'horror'), ('A Nightmare on Elm Street', 'horror')]
      >>> select_movies_by_category('movies.db', 'comedy')
      [('Ferris Bueller\'s Day Off', 'comedy'), ('Dumb and Dumber', 'comedy')]
      """
      
      conn = sqlite3.connect(db_name) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
  
      result = cursor.fetchall()
      conn.close()
  
      return result
output:     conn = sqlite3.connect(db_name) 
      cursor = conn.cursor()
  
      cursor.execute(f"SELECT * FROM Movies WHERE category = '{category}'")
  
      result = cursor.fetchall()
      conn.close()
  
      return result