Record/log the order of trials within a loop
Sorry if this has been asked before or if its really obvious.
So I have a loop that contains three trials and will present these to participants in random order. Also, within each trial is another loop that show participants three trials in a random order. I.e. there are 3 blocks (presented in random order) of 3 trials (also presented in random order) meaning a total of 9 trials overall.
How would I go about logging/recording the order in which participants receive each of these trials(I want to check participants' judgements do not differ due to fatigue effect)? Is there a variable that I can use to log the presentation of these trials or to tell me whether a trial came first second or third? Or could I use some Python to count the order of presentation?
Thanks in advance,