27
not flips a Boolean. It turns True into False and False into True. It’s like saying "If it is NOT raining, I will go to the market."
Sometimes it’s easier to code for what you don't want than what you do. It’s a bit of a brain-twister at first, but you will get the hang of it.
Log in to add a comment.