input: Write a python function to generate a password by concatenating random strings from a given list.
  assert len(generate_password(["random","password","security","codes","aaa","bbb","ccc", "ddd"])) > 0
  assert isinstance(generate_password(["random","password","security","codes","aaa","bbb","ccc", "ddd"]), str)
  assert len(generate_password(["a","b","c"])) > 0
output: import random
  
  def generate_password(words):
      return ''.join(random.choice(words) for _ in range(random.randint(5, 10)))