计算列表ls中的元素个数应使用()。

计算列表ls中的元素个数应使用()。

A.ls.count()

B.count(ls)

C.ls.len()

D.len(ls)

正确答案:len(ls)

猜你喜欢