python获取数组元素个数的方法

发布时间:2019-08-26 07:21:34编辑:auto阅读(1964)


    比如:

    mylist = [1,2,3]

    print(len(mylist))

    运行的结果为:

    3

关键字