For Loop not working properly

Printable View