Hi, I want replace some elements of my list "res" .
res = {{{a,b},{c,d},{e,f}}} lis ={{1,2,3}}
I 'd like obtein :
rep = {{{1,b},{2,d},{3,f}}}
How to do with the command ReplacePart?
Thanks a lot
Again, I am not sure whether you want MapThread here. You could try Map:
Map[Select[#, # <= 2 &] &, res]
or the short hand notation for that same thing:
Select[#, # <= 2 &] & /@ res
Cheers,
Marco