python 数组元素个数

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

print(len(list))

 

输出4

 

posted @ 2018-07-23 15:33  金一九  阅读(759)  评论(0)    收藏  举报