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