Fix code sample in for loop article