input: 
  def validate_mail_list(mail_list):
      """ Validates a list of email addresses and returns a boolean indicating whether all email addresses are valid.
      >>> validate_mail_list(["example.user@gmail.com", "bad@example"])
      False
      >>> validate_mail_list(["user@example.co", "name.last@company.org"])
      True
      """
  
output:     import re
      pattern = r'^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$'
      for email in mail_list:
          if not re.match(pattern, email):
              return False
      return True