programming-language配列配列のコピー.ShallowCopyOn this page配列のコピー.ShallowCopy Python pyarr2 = copy.copy(arr1) Ruby rbarr2 = arr1.dup 📩 ご意見・ご感想はこちらから