python获取List长度 电脑版发表于:2020/8/7 11:08 Python List len()方法 用法 ``` len(list) ``` 具体用法 ``` list1, list2 = [123, 'xyz', 'zara'], [456, 'abc'] print "First list length : ", len(list1); print "Second list length : ", len(list2); ```