Finding last item that matches criteria in Python
<p><a href="https://stackoverflow.com/a/9868665/433570">https://stackoverflow.com/a/9868665/433570</a> finds the first item.</p>

<p>I can think of doing <code>reverse</code> first before applying the solution above. 
But then I would end up with two <code>reverse</code> which might be avoided.</p>

<p>Is there a better solution than using two <code>reverse</code> and <code>next</code> ?</p>