import random


def __random_positions(max_position):
    """Generates two random different list positions given a max position.
    The max position is exclusive.

    ...
    Args:
        max_position(integer): The maximum position
    """
    [lhs, rhs] = random.sample(range(0, max_position - 1), 2)

    return (lhs, rhs)