python -列表分割. ①list[a::b] 从list列表下标a起取值,每次加b在取值,直到大于或等于list长度减1 list1 = ['x',1,'y',2,'z',3] print list1[::2] 输出:['x ','y' ...
確定! 回上一頁