def iterquad (): for i in range(5): yield (i*i) for j in iterquad(): print j
Name (required)
email (will not be published) (required)
Website