map() is returning only part of arguments
<p>I have the following code:</p>

<pre><code>a = '0'
b = '256'
mod_add = ['300', '129', '139']
list(map(lambda a, b, x: (a &lt; x) and (x &lt; b), a, b, mod_add))
</code></pre>

<p>I'd like to check every element in mod_add, but </p>

<pre><code>list(map(lambda a, b, x: (a &lt; x) and (x &lt; b), a, b, mod_add))
</code></pre>

<p>returns only one <code>False</code>.
With some values <code>(a = '100', b = '200')</code> it returns <code>'False', 'False', 'False'</code>.</p>

<p>What am I doing wrong?</p>

<pre><code>a = '0'
b = '256'
mod_add['300', '129', '139']
map(lambda x: int(a)&lt;int(x)&lt;int(b), mod_add)
</code></pre>

<p>Output :</p>

<pre><code>[False, True, True]
</code></pre>

python python-3.x