[solved] how to randomly vary the length of a cycle of words
I'm relatively new to Open Sesame and so far, I haven't had any problems that couldn't be solved with the available documentation. However, now I am stuck with a seemingly easy part of my task:
I need to present a cycle of words (200 ms each), that randomly varies between 40 and 60 words. I've created a loop with the variable 'words'. Then I've imported the module 'random' and tried to use random.randint () to limit the duration of the loop, but this doesn't seem to work.
Is there another way to accomplish this? Many thanks in advance!