input: from typing import List
  
  def generate_random_string(length: int) -> str:
      """ Generate a random string of specified length.
      >>> generate_random_string(10)
      'A1b2C3d4E5'
      >>> generate_random_string(5)
      'X9Yz0'
      """
      import random
      random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string
output:     import random
      random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string