title: If element is in list, remove it and return new list
body: <p>If an element <code>e</code> is in a list <code>L</code>, we are told to remove it and return the new list without the element.</p>
  
  <p>With my current code, I get an error saying <code>can only concatenate list (not "str") to list</code> at the line <code>M = [L[1]] + removeAll(e, L[2:])</code>. Does anyone know how to fix this?</p>
  
  <p>We are not allowed to use <code>for</code> or <code>while</code> statements. Thanks!</p>
  
  <pre><code>def removeAll(e, L):
      if e in L:
          if e == L[0]:
              M = [L[1]] + removeAll(e, L[2:])
          else:
              M = [L[0]] + removeAll(e, L[1:])
          return M
      return "{} is not in the list".format(e)
  
  print (removeAll(42, [ 55, 77, 42, 11, 42, 88 ]))
  </code></pre>