NOT Comparisons
Challenge 1-5: Booleans
Challenge 1-5: Booleans
What do you think happens when we use the word not in front of a comparison? Let's type these examples and find out:
>>> 1==1
True
>>> not 1==1
False
You can use the word not to reverse the answer Python gives!
Any expression that is True can become False:
>>> not True
False