if pass and if continue in python
<p>I saw someone posted the following answer to tell the difference between <code>if x: pass</code> and <code>if x: continue</code>.</p>

<pre><code>&gt;&gt;&gt; a = [0, 1, 2]
&gt;&gt;&gt; for element in a:
...     if not element:
...         pass
...     print(element)
... 
0
1
2
&gt;&gt;&gt; for element in a:
...     if not element:
...         continue
...     print(element)
... 
1
2
</code></pre>

<p>What is the result for <code>if not element</code> when <code>a = 0</code>? Why when using <code>continue</code>, 0 is not printed?</p>