input: def generate_random_string(length: int) -> str:
      """Generate a random string of the given length.
      >>> generate_random_string(6)
      'aefbcd'
      >>> generate_random_string(8)
      'xyzabcde'
      """
      letters = string.ascii_lowercase
      return ''.join(random.choice(letters) for i in range(length))
output:     import random
      import string