def linear_search(input_list, number):
    """Perform a linear search for a number on a list.

    Args:
        input_list: A list of ints representing the list to search in
        number: An int representing the value to search for

    Returns:
        index: An int representing the index of the number in the list, -1 if
            the number is not found
    """
    for index, element in enumerate(input_list):
        if element == number:
            return index

    return -1