trying to understand lambda
<p>When I do </p>

<pre><code>dict = {'Alice': '7898', 'Beth': '9102', 'Cecil': '3258'}
print filter(lambda x: x, dict['Alice'])
</code></pre>

<p>it shows: 7898</p>

<p>When I do the next</p>

<pre><code>dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}
print filter(lambda x: x=="2341", dict['Alice'])
</code></pre>

<p>it shows:</p>

<p>Why it doesn't show True. How to get True ?</p>
