input: Write a function to generate a random word of specified length.
  assert len(generate_random_word(8)) == 8
  assert len(generate_random_word(10)) == 10
  assert len(generate_random_word(12)) == 12
output: import random
  import string
  
  def generate_random_word(length):
      return ''.join(random.choice(string.ascii_lowercase) for _ in range(length))