input: 
  def extract_emails(text: str) -> List[str]:
      """Extracts all public email addresses from the given string.
      >>> extract_emails("My email is john@example.com and yours is john@gmail.com.")
      ['john@example.com', 'john@gmail.com']
      >>> extract_emails("Please contact support@mycompany.com for assistance.")
      ['support@mycompany.com']
      """
      import re
      return re.findall(r"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+", text)
  
output:     import re
      return re.findall(r"[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+", text)