Hello,
I have a code component that ends the routine when the score is at 8:
score+=key_resp_learn.corr
thisExp.addData(‘Score’,score)
if score >= 8:
learning_trials.finished = True
This means the participant has answered correctly 8 times overall. I would like to make it so that when the participant has answered correctly 8 times in a row, the routine ends. How would I change the coding that I have to make that possible?
Thanks,
Mary