python lists with numbers code example
Example 1: get list number python
my_list = [1,"hello world", 16.2]
len(my_list)
3
Example 2: a list inside a list python
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