title: Python: last element of tuple
body: <p>I would isolate the last element of a tuple like</p>
  
  <pre><code>a = (3,5,5)
  last = a[-1]
  </code></pre>
  
  <p>but the problem is that i have a pice ok code like this</p>
  
  <pre><code>if var == last:
    do something
  </code></pre>
  
  <p>and it takes the first <code>5</code> and not the second, how can i do to take the last one?</p>