input: Write a python function to simulate a number guessing game where the user has to guess a randomly generated number between 1 and 10.
  assert guess_number(5)== "You got it! The answer is 5"
  assert guess_number(3)== "Too low!"
  assert guess_number(8)== "Too high!"
output: import random
  
  def guess_number(user_guess):
      random_number = random.randint(1, 10)
      if user_guess == random_number:
          return f"You got it! The answer is {random_number}"
      elif user_guess < random_number:
          return "Too low!"
      else:
          return "Too high!"