input: 
  import string
  import random
  
  def random_string_generator(length: int) -> str:
      """ Generate a random string of given length made of uppercase letters and numbers.
      >>> random_string_generator(8)
      'V5Q2X9A3'
      >>> random_string_generator(8)
      'B7Z4K6M8'
      """
      chars = string.ascii_uppercase + string.digits
      password = ''.join(random.choice(chars) for i in range(length))
      return password
  
output:     chars = string.ascii_uppercase + string.digits
      password = ''.join(random.choice(chars) for i in range(length))
      return password