I need to initialize a 2D integer array[10*10] taking input from user in PYTHON.
What is the code for this? I have tried doing this but it shows error as list index out of range
board = [[]]
for i in range(0,10):
for j in range(0,10):
board[i].append(raw_input())
Traceback (most recent call last): File "solution.py", line 162, in board[i].append(raw_input()) IndexError: list index out of range