def index_firstnot(ol,value):
length = ol.__len__()<EOL>for i in range(<NUM_LIT:0>,length):<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_firstnot(ol,'a')
####index_firstnot, array_indexnot, indexOfnot  are the same
array_indexnot(ol,'a')
indexOfnot(ol,'a')