182k views
4 votes
What is ""If Not"" in Python?

1 Answer

1 vote

Answer:

Python 'If not' Syntax

In Python, not is a logical operator that evaluates to True if the expression used with it is False . This operator is used along with the if statement, called if not statements.

User Curtis
by
8.2k points