Wrapping around a list as a slice operation

前端 未结 4 2073
野性不改
野性不改 2020-11-27 07:37

Consider the following simple python code

>>> L = range(3)
>>> L
[0, 1, 2]

We can take slices of this array as follows:

4条回答
提交回复
热议问题