Getting Second-to-Last Element in List
<p>I am able to get the second-to-last element of a list with the following:</p>
<pre><code>&gt;&gt;&gt; lst = ['a', 'b', 'c', 'd', 'e', 'f']
&gt;&gt;&gt; print(lst[len(lst)-2])
e
</code></pre>
<p>Is there a better way than using <code>print(lst[len(lst)-2])</code> to achieve this same result?</p>