<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _delete(self, store, portIDs):
 """ Try to delete the ports with the given store IDs. @param store: The Axiom store from which to delete items. @param portIDs: A list of Axiom store IDs for TCPPort or SSLPort items. @raise L{SystemExit}: If one of the store IDs does not identify a port item. """

        for portID in portIDs:
            try:
                port = store.getItemByID(portID)
            except KeyError:
                print "%d does not identify an item." % (portID,)
                raise SystemExit(1)
            if isinstance(port, (TCPPort, SSLPort, StringEndpointPort)):
                port.deleteFromStore()
            else:
                print "%d does not identify a port." % (portID,)
                raise SystemExit(1)