Post

Answer: B) False
The trap: None and False are both "falsy", but NOT equal!
Step by step:
› None is its own unique type
› False is a boolean
› None == False → False (different types)
› bool(None) == False → True (both falsy)
For beginners: None isn't False isn't 0 isn't "" isn't [] despite all these values being falsy
English

@PythonPr False
False is Boolean while None checks for absence of values like null or nothing. Both are of different types, hence False.
English

@PythonPr Output: B) False
None is a separate singleton object. It’s “falsy” in boolean context, but it’s not equal to False.
So print(None == False) prints False
English













