list comprehension does not return empty list : <p>I tried to find the relevant question but couldn't find so creating a new one. 
My program creates a new list using list comprehension in python as per a simple if condition. </p>

<pre><code>  Newone = [ temp for temp in Oldone if temp % 2 != 0 ]
</code></pre>

<p>It works fine but when in some situation it doesn't work. For example this one </p>

<pre><code> Oldone = [1]
 Newone = [ temp for temp in Oldone if temp % 2 != 0 ]
</code></pre>

<p>This returns [1] but i am expecting Newone to be [] </p>
