alter iterator
Is this interesting at all ?
from my_iterators import alter
for a in alter():
print(a)
if a >= 6:
break
# 1
# -2
# 3
# -4
# 5
# -6
# 7
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Is this interesting at all ?
from my_iterators import alter
for a in alter():
print(a)
if a >= 6:
break
# 1
# -2
# 3
# -4
# 5
# -6
# 7