          num_items = 10
          numbers = [randint(0, 10) for x in xrange(num_items)]
          sorted_stack = self.get_sorted_stack(numbers)
          sorted_numbers = []
          for _ in xrange(num_items):
              sorted_numbers.append(sorted_stack.pop())
          assert_equal(sorted_numbers, sorted(numbers, reverse=True))
          
          print('Success: test_sort_stack')
  
 
</s> remove         numbers = [randint(0, 10) for x in xrange(num_items)]
 </s> add         numbers = [randint(0, 10) for x in range(num_items)] </s> remove     "        for _ in xrange(num_items):\n",
 </s> add     "        for _ in range(num_items):\n", </s> remove     "        for _ in xrange(num_items):\n",
 </s> add     "        for _ in range(num_items):\n", </s> remove     "        numbers = [randint(0, 10) for x in xrange(num_items)]\n",
 </s> add     "        numbers = [randint(0, 10) for x in range(num_items)]\n", </s> remove     "        numbers = [randint(0, 10) for x in xrange(num_items)]\n",
 </s> add     "        numbers = [randint(0, 10) for x in range(num_items)]\n",
        for _ in range(num_items):
          num_items = 10
          numbers = [randint(0, 10) for x in xrange(num_items)]
          sorted_stack = self.get_sorted_stack(numbers)
          sorted_numbers = []
        for _ in range(num_items):
              sorted_numbers.append(sorted_stack.pop())
          assert_equal(sorted_numbers, sorted(numbers, reverse=True))
          
          print('Success: test_sort_stack')
  
keep keep keep keep replace keep keep keep keep keep
 Changed xrange to range to be compatible with Python 3. 
stacks_queues/sort_stack/test_sort_stack.py