def rotate_r (sequence) :
    """Return a copy of sequence that is rotated right by one element

       >>> rotate_r ([1, 2, 3])
       [3, 1, 2]
       >>> rotate_r ([1])
       [1]
       >>> rotate_r ([])
       []
    """
    return sequence [-1:] + sequence [:-1]