用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
1、len(),列表中有多少项 ``` numbers = [1,2,3] print len(numbers) ``` 2、count(),某个项有多少个 ``` color_List = ['red','blue','magenta','red','yellow'] print color_List.count('red') ``` 3、index(),查找某个值的索引![] ``` color_List = ['red','blue','magenta','red','yellow'] print color_List.index('blue') ```