len
📏 Counts how many items are inside
Returns the number of items in a list or string.
中文对照 · Chinese
📏 一眼数出队伍里有几个人
返回列表里有多少个元素,或者字符串里有多少个字符。
Code example
count = len([10, 20, 30])Explore 100 bilingual word cards →
Returns the number of items in a list or string.
📏 一眼数出队伍里有几个人
返回列表里有多少个元素,或者字符串里有多少个字符。
count = len([10, 20, 30])Explore 100 bilingual word cards →