input: Write a function to generate a list of 10 random numbers between 0 and 10.
  def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0, 10))
      return numbers
  
  assert len(generate_numbers()) == 10
  assert all(0 <= x <= 10 for x in generate_numbers())
  assert isinstance(generate_numbers(), list)
output: def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0, 10))
      return numbers