Set .discard(), .remove() & .pop()

  • + 1 comment

    Couldn't we just add an if statement that checks that the operation to evaluate is within a set of acceptable operations? At least for a case such as this, that is.