Reorder an array by x elements in Python Given an array of size n, write a function to move x elements from the front to the end of the array. For example, given the following array: [2,4,6,8,10] To shift 3 elements you would return: [8,10,2,4,6]