Having trouble on solving the following tasks

You're still missing the point of using the for loop to provide you with indices.