| Reference | Downloads | Github

Select only one item from several rows, and select all items from other rows

Hello all,

What did you try to make it work?:

I want to present this list of stimuli in a random order, however, I only want to present one random item from “Neutral” ( rows 0:13) and present all items in the rest of the rows (14:17).

Is there an easy way to do so?

Thank you in advance,

I think that you could set

useRow = randint(0,14)
useRows = str(useRow)+":"+str(useRow+1)+"14:18"

The enter selected rows as $useRows in the loop.


thank you for your answer. For some reason, this only present one random item from 0:14 and does not present the rest of the items (14:18)

Sorry, I forgot a comma.

useRow = randint(0,14)
useRows = str(useRow)+":"+str(useRow+1)+",14:18"
1 Like