Having trouble on solving the following tasks

Time to put your for loops back.

Thanks for sticking with it.