Python not Keyword
Definition and Usage
The not
keyword is a logical operator.
The return value will be True
if the
statement(s) are not True
, otherwise it will
return False
.
Related Pages
The keywords or
,
and and
are also
logical operators.
Read more about operators in our Python Operators Tutorial.