>>> cars = ["bmw", "audi", "toyota", "subaru"] >>> len(cars) 4
Python自学:第三章 确定列表长度
原文:https://www.cnblogs.com/zhouxiin/p/10778066.html