insert, remove, pop
Also written: .insert(), .remove(), .pop()
List methods that change the list itself. `insert(i, x)` adds at a position, `remove(x)` deletes the first matching value, and `pop()` removes the last item and gives it back.
Also written: .insert(), .remove(), .pop()
List methods that change the list itself. `insert(i, x)` adds at a position, `remove(x)` deletes the first matching value, and `pop()` removes the last item and gives it back.