hi @Kulkul
thanx for this, however i need it to be inside as the index will be get by for loop inside Python script , i tried list.pop(index) and get the new list but it didn’t fulfill my need.
Hi,
I’m digging this post because I’d like to dig deeper.
I have almost the same problem but with sub-lists.
I’ve written what I’d like to get in green.
You doubled up on your lists for the indices. Your codeblock is already a single list (correct structure) before you wrap it in a list again (incorrect structure). You also need to append your outputs for each sublist.
But more importantly your code is just not doing what you want. Right now you’re telling it to remove the sublist l from the input list Lst. You’re not even using the indices.