This program takes a list and for each item in it, prints the number of occurances. To make the output more compact, the list is first transfomed to a set, which helps to avoid repeated output lines.
The "count" method is defined for the "list" data type: for the given argument, it returns a number of repetitions of that value in the list.
Nesta página do site você pode assistir ao vídeo on-line Python Count list items duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário CafePython 12 Maio 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 69 vezes e gostou 2 espectadores. Boa visualização!