code example of iterate

some code write in python about for iterate