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 function successfully generates such a password, it should print the password.
  
  assert generate_random_password()=="Password is: somePassword"
  assert generate_random_password()=="Password is: anotherPass"
  assert generate_random_password()=="Password is: yetAnother"
  assert generate_random_password()=="Password is: fourthPass"
  assert generate_random_password()=="Password is: lastPassword"
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)):
              print(f"Password is: {password}")
              break