Accuracy Feedback Screen from Compiled Data After Trials

I am creating a quick experiment that requires the participant to click ‘a’ if they see a red square on the screen, and ‘l’ if they see a blue square. I am testing their accuracy after 10 trials. After the trials, I want to display the accuracy in (however many/10) and in percentage on the screen. How do you do that using lists and custom code?

Please help me and thank you so much in advance!! I recently started using Psychopy and I’m still a newbie in Python coding. Have a nice day!

2 Likes

Hello,

try this
sqFeedback.psyexp (13.2 KB)
sqFeedback.xlsx (8.5 KB)

Best wishes Jens

It works perfectly and is just what I wanted! Thank you so much!!