title: Deleting list element after use
body: <pre><code>s = []
  seats = [4,1,5,9]
  students = [1,3,2,6]
  for i in range(len(students)):
      s.append((min(seats, key=lambda x:abs(x-students[i]))))
  print(s)
  </code></pre>
  <p>Returns minimum distance for each of our student values. I want to delete the seat from use after a student is allocated it. How would I perform that?</p>