write a python program that rotates the elements of a list so that the element at the first index moves to the second index, the element in the second index moves to the third index,etc., and the element in the last index move to the first index.
Answers
Answered by
3
Answer:
answer is
Explanation:
Rotate the given array by n times toward left. for i in range(0, n): #Stores the first element of the array. first = arr[0];
plz mark the brilliant answer
Similar questions