input: Write a function to generate a random number between the two given input numbers. The function should return the randomly generated number. If the first input number is greater than the second, the function should still work correctly and generate a number between the two, inclusive of the boundaries.
  assert random_num(0, 10) in range(0, 11)
  assert random_num(10, 0) in range(0, 11)
  assert random_num(-5, 5) in range(-5, 6)
  assert random_num(5, -5) in range(-6, 6)
  assert random_num(-10, -5) in range(-10, -4)
  assert random_num(-5, -10) in range(-10, -4)
output: import random
  
  def random_num(a, b):
      return random.randint(min(a, b), max(a, b))