fork(2) download
  1. import collections
  2. numeros = [5, 3, 1, 2, 3, 4, 5, 5, 5]
  3. repetidos = collections.Counter(numeros)
  4. print(repetidos[5])
  5.  
  6. #https://pt.stackoverflow.com/q/176255/101
Success #stdin #stdout 0.02s 9008KB
stdin
Standard input is empty
stdout
4