Python - how slice([1,2,3]) works and what does slice(None, [1, 3], None) represent?

后端 未结 0 1994
小鲜肉
小鲜肉 2020-12-23 11:22

class slice(start, stop[, step])

Return a slice object representing the set of indices specified by range(start, stop, step).

What i

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