win 10
trying to create a stroop task , I gave the codes ‘r’, ‘g’, ‘b’ for red ,green and blue in the response section as i should . defined a conditions list for color, words and answer. this is the message i got :
word.setColor(color, colorSpace=‘rgb’)
AttributeError: ‘str’ object has no attribute ‘setColor’
what is an str object?
what am i supposed to do?