Group: Awaiting Activation
Posts: 2,
Visits: 5
|
As a prequel to my experiment I want Inquisit to qick a list (defining the course of the experiment) from a set of lists at random.
These are the lists: (2,6,3,6,5,4,2,4,3,6,5,4,3,5,2) (4,2,3,6,5,4,3,5,2,4,6,5,6,2,3) (4,2,4,5,6,5,6,4,2,3,5,6,3,2,3) (5,2,3,6,4,5,4,2,3,6,5,4,6,3,2) (5,2,3,5,4,6,2,6,3,6,4,5,2,4,3) (3,4,3,6,5,6,2,5,4,6,3,4,2,5,2) (5,3,2,4,5,6,2,6,4,5,6,4,3,2,3) (2,4,5,6,4,6,3,2,3,5,6,3,4,2,5) (5,3,6,4,5,6,2,3,4,5,6,4,2,3,2) (5,6,3,4,5,6,3,2,3,4,5,6,2,4,2) (2,4,3,4,6,5,4,5,2,6,3,6,5,2,3) (5,2,3,6,3,5,4,2,5,6,4,6,4,3,2) (4,3,2,6,4,6,5,4,3,5,3,6,2,5,2) (3,4,2,3,4,6,2,5,2,6,5,6,4,3,5) (5,4,3,6,5,6,4,3,2,5,2,6,2,3,4) (5,4,2,6,4,3,2,3,2,6,5,6,4,5,3) (2,3,2,5,4,6,4,3,5,6,4,5,3,6,2) (2,6,3,6,5,4,2,3,4,6,5,4,5,2,3) (5,4,3,6,4,5,2,3,2,4,5,6,2,6,3) (2,3,4,3,5,6,2,5,3,6,4,6,4,2,5)
For example in python I would write:
liststock=[[2,6,3,6,5,4,2,4,3,6,5,4,3,5,2],[4,2,3,6,5,4,3,5,2,4,6,5,6,2,3],[4,2,4,5,6,5,6,4,2,3,5,6,3,2,3],...] actualListForExperiment=liststock[random.int(N)]
How would I do this in inquisit under the condition that the lists have to be hardcoded?
kind regard Jens
|