23
This is the 'opposite' operator. It turns True into False and vice-versa. 'If NOT raining, go outside.' It's a simple but powerful way to flip your logic.
Sometimes it's easier to think about what you don't want than what you do. I use this a lot when checking for errors in my code.
Log in to add a comment.