Nov-30-2018, 07:33 AM
micseydel Wrote:Don't compare boolean values to True or False using ==But it means that you can write
if condition is FalseThe semantics is slightly different from
if not conditionOne can reasonably argue that good python code should not rely on such slight differences.