Randomizing sliders in different locations

If this template helps then use it. If not then just delete and start from scratch.

PsychoPy version (e.g. 1.84.x): 23.1.3
What are you trying to achieve?: In each frame an exercise appears, the subject has to express the result of the exercise using the slider. The slider has 3 different positions when each exercise appears 3 times, each time with a different position of the slider.

What did you try to make it work?: With your help, we using a code that each time a different scale appears, but we need each exercise to appear 3 times, each time with a different scale.

I should mention that we tried to do this by using a single slider, but due to a malfunction of the software it was not successful.

in #Begin Routin:
if Routine.thisN % 3 == 0:
sliderCenter_start = 0
sliderLeft_start = 9999
sliderRight_start = 9999

elif Routine.thisN % 3 == 1:
sliderCenter_start = 9999
sliderLeft_start = 0
sliderRight_start = 9999

elif Routine.thisN % 3 == 2:
sliderCenter_start = 9999
sliderLeft_start = 9999
sliderRight_start = 0

random

num = randint(0,3)
if num % 3 == 0:
sliderCenter_start = 0
sliderLeft_start = 9999
sliderRight_start = 9999

elif num % 3 == 1:
sliderCenter_start = 9999
sliderLeft_start = 0
sliderRight_start = 9999

elif num % 3 == 2:
sliderCenter_start = 9999
sliderLeft_start = 9999
sliderRight_start = 0