Is there a reason why this for loop isn't working?

Printable View