input: import random
  
  def generate_random_string(length: int) -> str:
      """Generate a random string of the specified length.
      >>> generate_random_string(10)
      'A2B3C4D5E6' # Example output
      >>> generate_random_string(5)
      'a1b2c' # Example output
      """
      random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string
  
  print(generate_random_string(10)) # Length: 10
output:     random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=length))
      return random_string