tee()¶
This iterator splits the container into a number of iterators mentioned in the argument.
Syntax:
Parameter: This method contains two arguments.
- First argument is iterator
- Second argument is a integer
Return Value: This method returns the number of iterators mentioned in the argument.