Bird
0
0

What does the not operator do in Python?

easy📝 Conceptual Q2 of 15
Python - Operators and Expression Evaluation
What does the not operator do in Python?
AReturns False if the condition is True
BReturns True if the condition is True
CReturns the original condition
DReturns True if both conditions are True
Step-by-Step Solution
Solution:
  1. Step 1: Understand 'not' operator

    'not' reverses the truth value of a condition.
  2. Step 2: Apply to True condition

    If condition is True, 'not' returns False.
  3. Final Answer:

    Returns False if the condition is True -> Option A
  4. Quick Check:

    Logical NOT = reverses condition [OK]
Quick Trick: Remember 'not' flips True to False and vice versa [OK]
Common Mistakes:
MISTAKES
  • Thinking 'not' returns True if condition is True
  • Confusing 'not' with 'and' or 'or'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Python Quizzes