I want to move the first n elements of a list to the last of the list. Is there any function that I can use for it?
E.g.
a=[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
after making the first 5 elements the last 5 elements:
a=[ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0, 1, 2, 3, 4]