(x, y)
return x[y:] + x[:y]
Right rotates a list x by the number of steps specified
    in y.

    Examples
    ========

    >>> from sympy.utilities.iterables import rotate_right
    >>> a = [0, 1, 2]
    >>> rotate_right(a, 1)
    [2, 0, 1]
Right rotates a list x by the number of steps specified
    in y.
Right rotates a list x by the number of steps specified in y .
def rotate_right(x, y):
    """
    Right rotates a list x by the number of steps specified
    in y.

    Examples
    ========

    >>> from sympy.utilities.iterables import rotate_right
    >>> a = [0, 1, 2]
    >>> rotate_right(a, 1)
    [2, 0, 1]
    """
    if len(x) == 0:
        return []
    y = len(x) - y % len(x)
    return x[y:] + x[:y]
def rotate_right ( x , y ) : if len ( x ) == 0 : return [ ] y = len ( x ) - y % len ( x ) return x [ y : ] + x [ : y ]