programming-language配列要素の削除.位置指定(delete-at,remove-at)On this page要素の削除.位置指定(delete-at,remove-at) Python pydel(items[n]) 変な構文。 pyitems = ['a', 'b', 'c', 'a', 'b', 'c']del(items[3]) # ['a', 'b', 'c', 'b', 'c'] Swift swiftlines.remove(at: 0) JavaScript jsitem.splice(n, 1); Ruby rbitems.delete_at(n) 📩 ご意見・ご感想はこちらから