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

4 lines
72 B
Python

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