my first look was the validation = true on line 21. Then i realised that its completely useless, has no effects and prolly there to trick us. I ended up saying that the logic error was the typo on line 4 'switched_on' and while it can be seen by us to be a syntax error, it isnt part of the...