RosettaCodeData/Task/Arrays/Python/arrays-5.py

4 lines
74 B
Python

my_array = list()
for x in range(height):
my_array.append([0] * width)