# 配列のコピー. Deep Copy

# Python

arr2 = copy.deepcopy(arr1)

# Ruby

arr2 = Marshal.load(Marshal.dump(arr1))

[ 📩 ご意見 ]