from itertools import tee
my_list = [5, 4, 3, 2]
first_it = iter(my_list)
first_it, second_it = tee(first_it)
print(next(first_it))
print(next(second_it))
print(next(first_it))
Как создать копию итератора Python?