Given a list of N numbers, write a function to shift the numbers circularly by some integer k (where k < N). The function should take a list and k as a arguments and return the shifted list.
(a) Write a function that assumes shifting is to the left.
(b) Write a function that takes a third argument that specifies shifting left or right.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.