Files
python/pythonProject/数据类型/列表/len.py
T
2025-12-08 17:24:23 +08:00

3 lines
60 B
Python

l = [1,2,3,1,1,1,1,1,1]
# len 返回list长度
print(len(l))