1 回答

Smart猫小萌
TA贡献1911条经验 获得超7个赞
>>> list = [1,2,3] >>> len(list) 3 >>> l = '123' >>> len(l) 3 >>> s = set(list) >>> s set([1, 2, 3]) >>> len(s) 3 长度或者元素个数的统计
添加回答
举报
0/150
提交
取消