def in2s(nms  # list of indices
         ):
    """
    Convert the list into a list of couples of two elements.

    ::

        >>> in2s([1, 2, 3, 4])==[(1, 2), (3, 4)]
        True

    """
    return list(zip(nms[::2], nms[1::2]))