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

2 lines
62 B
Python

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