title: Can Python slicing be used to skip one specific element by index?
body: <p>Suppose I am writing a recursive function where I want to pass a <code>list</code> to a function with a single element missing, as part of a loop. Here is one possible solution:</p>
  
  <pre><code>def Foo(input):
      if len(input) == 0: return
      for j in input:
         t = input[:]
         t.remove(j)
         Foo(t)
  </code></pre>
  
  <p>Is there a way to abuse the slice operator to pass the list minus the element <code>j</code> without explicitly copying the list and removing the item from it?</p>