input: from typing import List
  
  
  def generate_random_string(length: int) -> str:
      """ Generate a random string of given length. The string will contain alphanumeric characters.
      >>> generate_random_string(10)
      'Rt5GhT7Y2d'
      """
output:     
      import random
      import string
  
      return ''.join(random.choices(string.ascii_letters + string.digits, k=length))
  