Copiez un tableau 2D en Python
y = [row[:] for row in x]
Unusual Unicorn
y = [row[:] for row in x]
from copy import copy, deepcopy
y = deepcopy(x)