第三章:算法-operator:內置操作符的函數接口-序列操作符

3.3.4 序列操作符 處理序列的操作符可以分爲4組:建立序列、搜索元素、訪問內容以及從序列刪除元素。 from operator import * a = [1,2,3] b = ['a','b','c'] print('a =',a) print('b =',b) print('\nConstructive:') print(' concat(a,b):',concat(a,b)) p
相關文章
相關標籤/搜索