input: Write a function to generate a random password given a set of letters, numbers, and characters. The function should take no input and return a randomly generated password of length 8. The password should consist of characters randomly chosen from the given set of characters.
  assert generate_password()==<some_random_password>
  assert generate_password()==<some_random_password>
  assert generate_password()==<some_random_password>
  assert generate_password()==<some_random_password>
  assert generate_password()==<some_random_password>
output: import random
  import string
  
  def generate_password():
      characters = string.ascii_letters + string.digits + string.punctuation
      return ''.join(random.choice(characters) for _ in range(8))