How do I remove an element from a list by index?
I found list.remove()
, but this slowly scans the list for an item by value.
How do I remove an element from a list by index?
I found list.remove()
, but this slowly scans the list for an item by value.