If you really have a desire to do this with Python lists:
SCALE_MULTIPLE = 2 # or any positive integer
new_array = []
for orig_row in original:
new_row = []
for orig_elem in orig_row:
new_row.extend([orig_elem] * SCALE_MULTIPLE)
new_array.extend(new_row[:] for _ in range(SCALE_MULTIPLE))
3
solved array resize proportionally in python [closed]