input: Write a function to generate a random string of length 8 made of uppercase letters and numbers.
  assert generate_random_string()== str
  assert len(generate_random_string())==8
output: import random
  import string
  
  def generate_random_string():
      return ''.join(random.choices(string.ascii_uppercase + string.digits, k=8))