*iterator: Pass Values of an Iterator to a Function
*iterator: Pass Values of an Iterator to a Function
If you want to pass values of an iterator to a function, use *iterator. In the code above, I use *iterator to avoid hard coding the parameters of the range() method.