Problem with adding to a list in a loop

Printable View