input: 
  import random
  
  def generate_random_string(length: int) -> str:
      """Generate a random string of given length.
      >>> generate_random_string(10)
      'aB3cD5eF7g'
      >>> generate_random_string(5)
      '1ZxY2'
      """
      random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string
  
output:     random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string