Replace elements according indexes

Hi All,

I’m trying to replace the elements of a list (“false”) with some of another list (“OK”) in the indices obtained before:

I’m not getting the desired result. What am I missing?

Thanks in advance!

found this:

Do you know another way?

Try this…

You can chain it so you can get you desire.

1 Like