Python slice

Python slicing operations, mainly for collection class data. Format is the list [start: end: step]

Record format

Step is 1 by default, indicating that slices are carried out from left to right; when step is -1, indicating that slices are carried out from right to left.