/* Syntax Error: Fix Python code */

I am trying to create an experiment in the builder but i constantly get this error when i use the coding element. During my previous coding sessions the coding component worked fine.
/* Syntax Error: Fix Python code */

So i wanted to create a command where i check if the text from the textbox is congruent with the correct response (corresp). Even when i only type in ‘if’ i already get a sysntax error and i don’t understand why.

try typing in the whole code/ block of code. usually for if blocks, the syntax error persists until you’ve atvleast the second line of code that’s indented.

oeps okay, thank you

1 Like