Liste de copie Python
a = [1, 2, 3]
b = [*a] # deep copy the list
Agreeable Armadillo
a = [1, 2, 3]
b = [*a] # deep copy the list
a_copy = a_list.copy()