If you want to associate elements from two iterators based on the order, combine list and zip. Above is an example.
Link to the source code.