I am using PsychoPy 3 version 2021.1.3 with MacOS Big Sur.
In this probabilistic learning task for reinforcement learning, there are three shapes(circle, square, triangle) and I am trying to assign probabilities of getting it correct for each shape. Three of the shapes will be presented and the participant will have to choose one shape. I am trying to make circle to have 60% correct and 40% incorrect for each trial, and the other shapes to have 20% of correct and 80 incorrect for each trial. I don’t know how to start writing the code. Please, help me write the python code for it.
Thank you in advance,