input: Write a python function to generate a random password of length 8 using ascii letters, digits, and punctuation.
  assert len(genRandomPassword()) == 8
  assert isinstance(genRandomPassword(), str)
output: import random
  import string
  
  def genRandomPassword():
      characters = string.ascii_letters + string.digits + string.punctuation
      password = ''.join(random.choice(characters) for _ in range(8))
      return password