Checking for value within same type in python
<pre><code>a = 0
if a == False:
   print a
</code></pre>

<p>in php I can say:</p>

<pre><code>$a = 0;
if $a === false {
    echo $a;
}
</code></pre>

<p>The triple === in php check for the value within the same type, thus making the integer 0 not be read as a boolean value False
How can I do this in python? I would like to differentiate between 0 the integer and False the boolean value in a simple if statement.</p>
