input: from typing import List
  
  
  def filter_emails_by_domain(email_list: List[str], domain: str) -> List[str]:
      """Create a Python script that takes a list of email addresses as input and prints a filtered
      list of email addresses that belong to a particular domain.
      >>> filter_emails_by_domain(["john@gmail.com", "sarah@yahoo.com", "bob@microsoft.com", "sophie@gmail.com"], "@gmail.com")
      ['john@gmail.com', 'sophie@gmail.com']
      >>> filter_emails_by_domain(["alex@yahoo.com", "jane@hotmail.com"], "@yahoo.com")
      ['alex@yahoo.com']
      """
      filtered_list = [email for email in email_list if email.endswith(domain)]
      return filtered_list
output:     filtered_list = [email for email in email_list if email.endswith(domain)]
      return filtered_list