Thank you for your answer @wakecarter . I did look at your crib sheet, perhaps it is me that just does not understand exactly how to use it. I would gladly remove the shuffle function and replace it by the util.shuffle.
Pictures is a list:
pictures = [...]
My pictures are loaded in correctly. I have tried implementing util.shuffle(). Where do I insert this exactly for the code to work? And how do I use it on my pictures stimuli?
For example like this?
shuffle = util.shuffle
picture1 = shuffle(picture)
picture2 = shuffle(picture)
picture3 = shuffle(picture)
print(picture1)
print(picture2)
print(picture3)