📌  相关文章
📜  计算数组中有多少个数python代码示例

📅  最后修改于: 2022-03-11 14:47:04.006000             🧑  作者: Mango

代码示例3
# Our array
arr = [82, 49, 82, 82, 41, 82, 15, 63, 38, 25]

# let's print the number of 82 in our array/list
print(arr.count(82))

# it will print : 4