Removes the first occurrence of a value from the list.
Removes the first occurrence of a value from the list.
This method uses a stack frame per element until it finds a matching value or the end of the list, so it's not great for large lists, but is good for short lists.