Python - efficient assigning of same value to list slice

前端 未结 0 1622
悲哀的现实
悲哀的现实 2021-01-17 15:54

If I have Python\'s list l what is the most efficient (fastest, high-speed) way to assign same value v to slice [start : stop : step]

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