input: 
  def validate_mail_list(mail_list):
      """Validate a list of emails and return a boolean indicating if all email addresses are valid.
  
      >>> validate_mail_list(["example.user@gmail.com", "bad@example"])
      False
      >>> validate_mail_list(["user1@example.com", "user2@domain.com"])
      True
      """
      for mail in mail_list:
          if not re.match("[^@]+@[^@]+\.[^@]+", mail):
              return False
      return True
  
output:     import re