Programming Examples
Python program to rotates the elements of list so that fist elements move to second and second to the third

Write a python program to rotates the elements of a list so that the elements at the first index moves to the second index, the element in the second index moves to the third index, etc. and the elements in the last index moves to the first index.
Output/ Explanation:
Enter any List of Integer : [3,5,8,9,6]
After Shift List is : [6, 3, 5, 8, 9]