Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

2D array python

# 2D arrays in python can be used to create rudimentary games

array_2d = [['row0, column0'], ['row0, column1'], ['row0, column2'],
            ['row1, column0'], ['row1, column1'], ['row1, column2'],
            ['row2, column0'], ['row2, column1'], ['row2, column2']]
            
Source by www.guru99.com #
 
PREVIOUS NEXT
Tagged: #array #python
ADD COMMENT
Topic
Name
4+4 =