Python True false Trick





Assign True to False since True and False are of Type Bool , So value should not be allowed to assign. 

BUT something’s works

>>> False = True
>>> False
True

If you think False may be variable, but its still bool :)

>>> type(False)
<type 'bool'>

Print False and see the value

>>> False
True

Use False in condition statements and see

>>> if False:
...     print "Tricking True False"

Tricking True False