[a:b] –> means from ‘a’ to ‘b’
[:b] –> means from ‘first’ to ‘b’
[a:] –> means from ‘a’ to ‘last’
[:,a:] –> means first index is from ‘first’ to ‘last’,second index is from ‘a’ to ‘last’
anyelse,the same meaning like this.
[:]--Python
最新推荐文章于 2023-04-23 10:51:25 发布