Backward digit span

Hi,

I have tried to build the backward digit span tasks, but my experiment keeps crashing. I belive I may have the wrong code which is also included in the incorrect tabs in the code component, please may someone help?

Thank you

Hello,
Can you please include your experiment/the errors you receive? Otherwise, it’s impossible for us to help you.

Thanks

Hi

I followed the instructions provided here How to make a Digit Span Task in PsychoPy — Workshops for PsychoPy 2023 2023.

And I am receiving this error in the runner

text.setText(randint()
File “mtrand.pyx”, line 646, in numpy.random.mtrand.RandomState.randint
TypeError: randint() takes at least 1 positional argument (0 given)
################ Experiment ended with exit code 1 [pid:17092] #################
11503.5657 INFO Loaded monitor calibration from [‘2023_01_12 18:45’]