How python specifies the step size cut list
This article mainly shows you the "python how to specify the step size cutting list", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "python how to specify the step size cutting list" this article.
Specify step size cut list
> a = [0,1,2,3,4,5,6,7,8,9,10] > > a [:: 2] [0,2,4,6,10] > > a [:: 3] [0,3,6,9] > > a [2:8:2] [2,4,6] is all the contents of the article "how to specify the step size cutting list for python". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!