input: Write a function to generate a list of ten random numbers ranging from 0 to 10. The function should return the generated list.
  
  def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0, 10))
      return numbers
  
  assert len(generate_numbers()) == 10
  assert min(generate_numbers()) >= 0
  assert max(generate_numbers()) <= 10
output: def generate_numbers():
      numbers = []
      for i in range(10):
          numbers.append(random.randint(0, 10))
      return numbers