Strange difference in time between add and extend two lists

后端 未结 0 1422
眼角桃花
眼角桃花 2020-12-07 00:56

If I take two list, I can concatenate them with the + operator or with the .extend() method. Both do the same thing.

But if i do list1=list1+list2 it tak

相关标签:
回答
  • 消灭零回复
提交回复
热议问题