append# IndexSetND.append(elem, /)# Append an element to the end of the IndexSet, in-place. Parameters: elemelement Raises: ValueErrorIf the element is invalid. ValueErrorIf the element is already present in the IndexSet (introduces a duplicate).