def linear_search(list, value):
    """This function takes a list as input and a value to find.Then linearly it searches for that value"""
    for i in range(len(list)):
        if list[i] == value:
            return i #Returning the index
    return -1