I am running PsyhcoPy 2020, windows 10. I have a routine for presenting an audio stimulus, followed by a routine for providing feedback on whether the participant is correct and their response time:
However, the code component inidcates a syntax error:
I’ve copied this code from when i ran this experiment in a previous version of PsychoPy, and originally adapted it from a forum, possibly this one. I am new to Python though, so I’m not really sure where the syntax error is?