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

2 lines
61 B
Python

myArray = [[0 for x in range(width)] for y in range(height)]