What is Truthy and Falsy in python ? How is it different from True and False?
<p>I just came to know there are <strong>Truthy</strong> and <strong>Falsy</strong> values in python which are different from the normal <code>True</code> and <code>False</code>?</p>

<p>Can someone please explain in depth what <em>truthy</em> and <em>falsy</em> values are? </p>

<p>Where should I use them?</p>

<p>What is the difference between <em>truthy</em> and <code>True</code> values and <em>falsy</em> and <code>False</code> values ?</p>

<p>All values are true except for:</p>

<ul>
<li><code>None</code></li>
<li><code>False</code></li>
<li><code>0</code></li>
<li><code>0.0</code></li>
<li><code>0j</code></li>
<li><code>[]</code></li>
<li><code>{}</code></li>
<li><code>()</code></li>
<li><code>''</code></li>
<li><code>set()</code></li>
<li>objects for which 

<ul>
<li><code>obj.__bool__()</code> returns <code>False</code></li>
<li><code>obj.__len__()</code> returns <code>0</code> </li>
</ul></li>
</ul>

python