Can someone walk me through what is happening here?


#1

board = []

for i in range(1,6):
board.append(["O"] * 5)
print board


#2

@jay_sanc,
google search
== discussions / opinions ==
python initializing a list site:stackoverflow.com
= http://stackoverflow.com/questions/521674/initializing-a-list-to-a-known-number-of-elements-in-python
python for in range site:stackoverflow.com
= http://stackoverflow.com/questions/1738109/how-does-the-pythons-range-function-work