def indexAll(inputList=None, value=None):
    """
    find the index of a given value in a given list
    :param inputList: input as a list
    :param value: the value that targeted to index
    :return: the index of value lies in a list
    """
    if not isinstance(inputList, list):
        raise TypeError('Input list must be a list object.')
    return [i for i, x in enumerate(inputList) if x == value]