Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
就職の面接を受けたとき、Python について質問されました。リストに要素を追加するメソッドはいくつありますか?そのうちのどれが最も高速ですか?
append、insert、もちろんなどのリストのメソッドを使用できることはわかっています+。では、他にもありますか?そして、どれが最速ですか、なぜですか?
append
insert
+