Solving Tasks From The Loops Exercise