Answers for "python create array of empty lists"

1

how to create an empty list of certain length in python

>>> l = [None] * 10
>>> l
[None, None, None, None, None, None, None, None, None, None]
Posted by: Guest on March-21-2021
0

empty array python

import numpy
my_array = numpy.zeros(shape=(row,column))
Posted by: Guest on November-25-2021

Code answers related to "python create array of empty lists"

Python Answers by Framework

Browse Popular Code Answers by Language