Could someone help me with this for loop I wrote?

Printable View