python获取数组元素个数 # Return the number of times x appears in the list. a = [66.25, 333, 333, 1, 1234.5] print a.count(333) 开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明python获取数组元素个数! 喜欢 (0)