#!/usr/local/bin/python2 x = iter(1,2,3,4,5) for i in x: print i for j in x: print j