input: Write a function to generate a random number between 1 and 10.
  assert 1 <= random_num() <= 10
  assert 1 <= random_num() <= 10
  assert 1 <= random_num() <= 10
output: import random
  
  def random_num():
      return random.randint(1, 10)