examples/iterators/alter.py
from __future__ import print_function
from my_iterators import alter

for a in alter():
    print(a)
    if a >= 6:
        break
    
# 1
# -2
# 3
# -4
# 5
# -6
# 7