len
📏 一眼数出队伍里有几个人
返回列表里有多少个元素,或者字符串里有多少个字符。
English
📏 Counts how many items are inside
Returns the number of items in a list or string.
代码示例
count = len([10, 20, 30])探索 100 张双语词卡 →
返回列表里有多少个元素,或者字符串里有多少个字符。
📏 Counts how many items are inside
Returns the number of items in a list or string.
count = len([10, 20, 30])探索 100 张双语词卡 →