Posner Feedback Percentage

Hi Everyone,

I am new to PsychoPy and am not familiar with python/the code component. My lab is trying to program a posner task where there will be some practice trials. We would like the program to run through the practice trials, calculate a percentage and then automatically re loop through the practice or go straight to the main task.

Would really appreciate any help!

Thanks,
Emily