>>> True == False is False False >>> False == True is False False
Or read the very first part of the linked page that shows:
>>> (True == False) is False True >>> True == (False is False) True
You'd be correct to use 'is' to mean 'is', and '==' to mean '==', following their definitions.
Other than that, just don't use `is`.
Or read the very first part of the linked page that shows: