title: True or false validation to check whether web compiled user input is equal to a locally stored value
body: <p>My question title does not succinctly explain my objective. Let me improve on that.
  I am mildly familiar with extending an IDE functionality in a web application. Lets assume that in I somehow manage to store a predetermined value, the correct output of a certain formula; a sorted list of x int values -[1, 2, 3, 4, 5, 6, 7, 8, 9, 10] . It can be sorted using any sorting algorithm. An example shell_sort algo:</p>
  <pre><code>def shell_sort(list):
      gap = len(list) // 2
  
      while gap &gt; 0:
          for i in range(gap, len(list)):
              temp = list[i]
              j = i
              while j &gt;= gap and list[j-gap] &gt; temp:
                  list[j] = list[j-gap]
                  j = j - gap
  
              list[j] = temp
          gap = gap // 2
  
  list = [10,9,8,7,6,5,4,3,2,1]
  shell_sort(list)
  print(list)
  </code></pre>
  <p>The output of the above function should be: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].</p>
  <p>Please note that I somehow have figured a way to store the correct output of the algorithm. False or True, for now. How can, when a user using a web-ide integrated platform solving for example the algorithm above, be able to programmatically determine the correctness of the users output against one stored locally?</p>