How to make this looping work?

Printable View