代码示例:(标识:python_list_len)
python_list_len.py
thislist = ["apple", "banana", "cherry"]
print(len(thislist))
运行结果: