Update iteration.py

PEP8 fixing
Merge pull request #1 from laurent-dinh/patch-2

Update iteration.py