Need help fixing very trivial for loop problem

Printable View