Negation

Negation or not is a logical operator that inverts the truth value of its operand.

>>> not True
False

>>> not False
True

This operator is very useful in certain contexts.