Random.randrange equivalent for Pavlovia

Description of the problem: I am trying to run online at Pavlovia experiment in which offline I use random.randrange function, e.g. pretrial_isi_time = random.randrange(1000, 1500, 100) and importing random at the beginning of the experiment.

I learned from this forum that it will not work and for Palovia purposes as I can’t use functions from numpy. I have tried to find a solution that will work both offline and online at Pavlovia. Could you please instruct me which function I should use? Big thanks in advance.

How about

pretrial_isi_time = 1000 + 100 * randint(6)

Thank you a lot!