What is the 'not' operator?

Asked by emeka_nwankwo · 6 months ago

1 Answer

27
amorebise · 6 months ago Top Answer

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.