for-loop exercises