def index_lastnot(ol,value):
length = ol.__len__()<EOL>for i in range(length-<NUM_LIT:1>,-<NUM_LIT:1>,-<NUM_LIT:1>):<EOL><INDENT>if(value == ol[i]):<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>return(i)<EOL><DEDENT><DEDENT>return(None)<EOL>
from elist.elist import *
ol = [1,'a',3,'a',4,'a',5]
index_lastnot(ol,'a')
####lastIndexOfnot is the same as index_lastnot
lastIndexOfnot(ol,'a')