Python, but not programming, newbie here. I\'m programming with lists and have run into an interesting problem.
width = 2
height = 2
# Traverse the board
de
The statement for square in squares just visits each item in the list in order: squares[0], then squares[1], then squares[2], and so on until it runs out of squares.
Removing squares[0] shifts all the other items in the list to the left one slot; the original squares[1] is now squares[0], so the for loop will skip over it.