Here, I made a list in variable and tried to remove list items by index one by one.
But an error is coming like this: Unable to remove the item from the length of list 2 (b d)
I was actually implementing it to clear the list item and add other items in a particular condition. the first idea that came to my mind is by removing each item from the list. and then adding items in the list. @Vaibhav