Iteration with Assignment

A popular programming pattern is to assign list items within a loop. The second loop fails for some curious reason.