title: Choosing without replacement in python
body: <p>I have a code in Python where at different time steps I'm following a number of different steps. What I want to do is add an extra part in the code where in the first 7 time steps the algorithm will choose randomly a number from an existing set that has 7 different entries (0,1,2,3,4,5,6,7). Essentially what I want to do is choosing without replacement from this set so that at t=7 all the numbers have been chosen once. So at t=0 the set that I need to choose a random element from has 7 elements, at t=1 it has 6 elements etc. Any help would be very much appreciated.</p>