I have a list like so:

a = [2,4,5,6,3,9,10,34,39,59,20,15,13,14]

I would like to get a subset from the list with value between 10 and
20 (inclusive).

b = [10,13,15,14,20]

Is there a way to do this with a list or other data type?

Thanks,
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to