input: 
  def generate_random_string(string_length: int) -> str:
      """ Generate a random string of specified length. The string will consist of 
      alphabetic characters (both lowercase and uppercase) and digits.
      
      Example:
      >>> generate_random_string(10)
      'aB3d7E9fG2'
      """
  
  import random
  
  def generate_string(string_length):
      random_characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
      random_string = ''.join(random.choices(random_characters, k=string_length))
      return random_string
  
  # Example usage:
  # print(generate_string(10)) # Output will be a random string of length 10
  
output:     import random
      import string
  
      characters = string.ascii_letters + string.digits
      return ''.join(random.choice(characters) for _ in range(string_length))