I have 2 list:
list 1 = [1,3,5,6,7,9]
list 2 = [20,23,24,25,28,30];
Please show me how to get [5,6,7] in list 1 and [23,24,25] in list 2 by multi condition
{because 0<(6-5) <=1); 0<(7-6) <=1; 0<(24-23) <=1; 0<(25-24) <=1}
1 Like
Thank you so much!