input: Write a function to generate a random password using a given set of letters, numbers, and special characters. The function should not take any input and should print the generated password. 
  assert generate_password()==None
  assert len(generate_password().strip())==8
output: import random
  import string
  
  def generate_password():
      characters = string.ascii_letters + string.digits + string.punctuation
      password = ''.join(random.choice(characters) for _ in range(8))
      print(password)