input: Write a python function to create a random password of length 8 containing letters, digits, and punctuation.
  assert len(create_password()) == 8
  assert any(c.islower() for c in create_password())
  assert any(c.isupper() for c in create_password())
  assert any(c.isdigit() for c in create_password())
  assert any(c in string.punctuation for c in create_password())
output: import random
  import string
  
  def create_password():
      characters = string.ascii_letters + string.digits + string.punctuation
      password = ''.join(random.choice(characters) for _ in range(8))
      while (not any(c.islower() for c in password) or
             not any(c.isupper() for c in password) or
             not any(c.isdigit() for c in password) or
             not any(c in string.punctuation for c in password)):
          password = ''.join(random.choice(characters) for _ in range(8))
      return password