def __column(x, index):
    """
    :brief: Gets a column of a 2D list.

    :param x: is the 2D list
    :param index: is the index of the returned column
    :return: a column of a 2D list
    """

    return [x[i][index] for i in range(len(x))]