#!/usr/local/bin/python3 iter = iter((1,2,3)) for i in range(3): print(iter.next())