📜  python 查找列表中元素的数量 - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:35.346000             🧑  作者: Mango
代码示例1
list1 = [2,3,4,3,10,3,5,6,3]
elm_count = list1.count(3)
print('The count of element: 3 is ', elm_count)