摘要: list list是有序集合,可以随时添加和删除元素 classmates = ['Michael', 'Bob', 'Tracy'] >>> len(classmates) 3 list里面的元素的数据类型可不同 >>> L = ['Apple', 123, True] len()获得list元素 阅读全文
posted @ 2024-07-17 17:29 yao-ziyan 阅读(33) 评论(0) 推荐(0)