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