input: Write a function to generate a Random Password of length 8 characters, which contains at least one of each character type (lowercase, uppercase, digits, special characters). If the password does not meet the criteria, it should regenerate until it does.
  
  assert generate_random_password() is not None
  assert len(generate_random_password()) == 8
  assert any(c.islower() for c in generate_random_password()) is True
  assert any(c.isupper() for c in generate_random_password()) is True
  assert any(c.isdigit() for c in generate_random_password()) is True
  assert any(c in "!#$%&'()*+,-./:;<=>?@[\]^_`{|}~" for c in generate_random_password()) is True
output: import random
  import string
  
  def generate_random_password():
      while True:
          password = ''.join(random.choices(string.ascii_letters + string.digits + string.punctuation, k=8))
          if (any(c.islower() for c in password) and
              any(c.isupper() for c in password) and
              any(c.isdigit() for c in password) and
              any(c in string.punctuation for c in password)):
              return password