removes the last item of a non-empty list
None
None
It is an error to attempt to drop an item from an empty list.
The returned list maintains all attributes of the original list.
std::drop | removes the last item of a collection without returning it |