move the last item in list `a` to the beginning,a = a[-1:] + a[:-1]