Python自学:第三章 确定列表长度

>>> cars = ["bmw", "audi", "toyota", "subaru"]
>>> len(cars)
4

 

posted @ 2019-04-27 11:07  Johnson蚂蚁  阅读(513)  评论(0编辑  收藏  举报