I have the following code:
a = '0'
b = '256'
mod_add = ['300', '129', '139']
list(map(lambda a, b, x: (a < x) and (x < b), a, b, mod_add))
I'd like to check every element in mod_add, but
list(map(lambda a, b, x: (a < x) and (x < b), a, b, mod_add))
returns only one False.
With some values (a = '100', b = '200') it returns 'False', 'False', 'False'.
What am I doing wrong?