Correct sink - getting syntax error

Take out all the when’s and the otherwise “”. Each set of parentheses will output true or false. So the series of or statements will either output true or false, which is what the correct sink is looking for.

If the when-otherwise just makes more sense to you, you need to have a result of true after each condition and false after the otherwise.

1 Like