equivelant to rindex for lists in python,len(a) - a[-1::-1].index('hello') - 1