I need help with my code

For some reason, when Sq3r1 and Sq4r1 are both true , Sq2r1 does not change to true.
Here’s the code.

1 Like

The if then /else if statement runs until a statement is true, so it will always stop at the “If sq4r1 equals true” part. If you want to check if two properties are true, use the “and” block.


Thanks! it worked. I did this.

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.