def first_false_index(iterable, pred=None, default=None):
 if (pred is None):
  func = operator.not_
 else:
  func = (lambda x: (not pred(x)))
 return first_true_index(iterable, func, default)

def first_false_index ( iterable , pred = None , default = None ) : if ( pred is None ) : func = operator . not_ else : func = ( lambda x : ( not pred ( x ) ) ) return first_true_index ( iterable , func , default )
find the first index position for the which the callable pred returns false .