Explain not ( boolean NOT ) with an example

Question :

Explain not ( boolean NOT ) with an example

The not operator is used to reverse the logical state of its expression. Logical not returns True if the expression is false and False if the expression is true. For example

If x is True, it returns False.

If x is False, it returns True.

x=True;

not x returns False.


Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad