首页 > 技术文章 > python 数组元素个数

mghhzAnne 2018-07-23 15:33 原文

list=[1,2,3,{1,4,5,6,7}]

print(len(list))

 

输出4

 

推荐阅读