How to create alternating rows for the loop?

Hi guys,
how can I create alternating rows for the loop?