Say you have a list [1,2,3,4] And I want to get [2,3,4,1] or [3,4,1,2]. Basically I am using the list with a different starting point each time, but then continuing through the list. How would I create something to recognize that in python.
What i have now is list[n:] where n is the shifted value, say 2, making you start at three.