Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a 2d array in python

grid_state = [['empty' for row in range(6)] for column in range(6)]
print(grid_state)
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #array #python
ADD COMMENT
Topic
Name
3+2 =