title: Python Equivalent of Scheme/Lisp CAR and CDR Functions
body: <p>I am currently trying to implement <code>fold</code>/<code>reduce</code> in Python, since I don't like the version from <code>functools</code>. This naturally involved implementing something like the Lisp <code>CDR</code> function, since Python doesn't seem to have anything like it. Here is what I am thinking of trying:</p>
  
  <pre><code>def tail(lat):
    # all elements of list except first
    acc = []
    for i in range(1,len(lat)):
      acc = acc + [lat[i]]
  </code></pre>
  
  <p>Would this be an efficient way of implementing this function? Am I missing some kind of built-in function? Thanks in advance!</p>