input: 
  def validate_mail_list(mail_list):
      """
      Validates a list of emails. The function checks if each email in the list is in a valid format.
      It should return True if all emails are valid, otherwise it returns False.
      >>> validate_mail_list(["example.user@gmail.com", "bad@example"])
      False
      >>> validate_mail_list(["example.user@gmail.com", "good@example.co"])
      True
      """
      import re
      for mail in mail_list:
          if not re.match("[^@]+@[^@]+\.[^@]+", mail):
              return False
      return True
  
output:     import re
      for mail in mail_list:
          if not re.match("[^@]+@[^@]+\.[^@]+", mail):
              return False
      return True