input: from typing import List
  
  
  def generate_random_string(length: int) -> str:
      """Generate a random string of specified length consisting of lowercase letters.
      >>> generate_random_string(6)
      'abcdef'
      >>> generate_random_string(4)
      'pqrs'
      """
output:     import random
      import string
  
      return ''.join(random.choices(string.ascii_lowercase, k=length))