Hello , I have two routines as below :
In the endPracticeOrNot routine I will ask the subject to press y or n to terminate practicing or re-do again.
I wrote the code below in the End Routine of endPracticeOrNot :
if endPracticeKeyboard.keys == 'y' : print('Yes') startPracticeAgain.finished = 0 else : print('No') startPracticeAgain.finished = 1
My condition works except startPracticeAgain.finished so it doesn’t not steer the startPracticeAgain loop. How should I write it?
Thanks for your helps.