input: 
  from typing import List, Tuple
  
  def generate_random_string(length: int) -> str:
      """ Generate a random string of the given length made of uppercase letters and numbers.
      >>> generate_random_string(8)
      'A1B2C3D4'
      >>> generate_random_string(8)
      '5E6F7G8H'
      """
  
output:     import random
      import string
  
      characters = string.ascii_uppercase + string.digits
      return ''.join(random.choice(characters) for _ in range(length))