from itertools import tee
it = iter([10, 20, 30])
a, b = tee(it)
print(next(a), next(b), list(a), list(b))
Post #2973
639
Что выведет код?