Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list inside of list

board = []    
for i in range(6): # create a list with nested lists
    board.append([])
    for n in range(6):
        board[i].append("O") # fills nested lists with data
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #list
ADD COMMENT
Topic
Name
6+7 =