insert method

insert

Inserts a Portion into the collection at the specified index.

def insert(self, index, value):
    ...
ParameterTypeDescription
indexintThe zero-based index at which Portion should be inserted.
valueIPortionThe Portion to insert.

See Also