Suppose I have a list, say named R. I want every element less than 100 in R to appear in another list.
Even better, I have another named Q, and I'll need 2 lists, so that the elements in one list matches with the other.
For example:
R = {40, 230, 9, 102, 154, 308, 1}
Q = {1, 2, 3, 4, 5, 6, 7}
should give:
{40, 9, 1}
and
{1, 3, 7}