Python itertools模塊

今天學了簡單好玩的模塊,itertools模塊,簡單的說,itertools模塊就是產生一個循環器函數 來看下這個模塊的功能都有哪些吧spa 無窮循環器排序 count()  從開始的數字一直數下去ip      count(10)   #-->  10 11 12 13 14 15 …原型      count(10,2) #-->  10 12 14 16 18 20 …it   cycle(
相關文章
相關標籤/搜索