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

2 lines
66 B
Python

my_array = [[0] * width] * height # DOES NOT WORK AS INTENDED!!!