📅  最后修改于: 2022-03-11 14:46:10.477000             🧑  作者: Mango
#using the .count() function where the occurence of an element you
#want to find is the thing in the paranthesis
lista = [1,1,2,3,4,5]
print(lista.count(1))
# will return 2