input: Write a function to generate a random number between two given numbers. If the given numbers are equal, return that number. If the input values are invalid (e.g., non-numeric), return None.
  def random_number_generator(min, max):
      if min == max:
          return min
      elif not isinstance(min, (int, float)) or not isinstance(max, (int, float)):
          return None
      return random.randint(min, max)
  
  assert random_number_generator(2, 5) in [2, 3, 4, 5]
  assert random_number_generator(5, 5) == 5
  assert random_number_generator("a", 5) == None
  assert random_number_generator(3.5, 7.5) in [4, 5, 6, 7]
output: def random_number_generator(min, max):
      if min == max:
          return min
      elif not isinstance(min, (int, float)) or not isinstance(max, (int, float)):
          return None
      return random.randint(math.ceil(min), math.floor(max))