Hello, I am trying to add a 6 second timeout when participants respond incorrectly. I already added code to print “correct” or “incorrect” based on their responses, but I am not sure how I would add a timeout if incorrect? The code I have so far is below. Thanks!
if key_resp_4.corr:
respond = ‘Correct!’
else:
respond = ‘Incorrect.’