Are you trying to understand if statements or this entire block of code? Because the block of code kind of makes no sense?
It's simply a question from a Meta Python learning course. But I'm stuck because I can't understand why it just doesn't print "turning light off"