I would isolate the last element of a tuple like
a = (3,5,5)
last = a[-1]
but the problem is that i have a pice ok code like this
if var == last:
do something
and it takes the first 5 and not the second, how can i do to take the last one?
var? What is the actual problem you're trying to solve?