Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from collections import Counter
- lenguajes_programacion = ['C#', 'Python', 'Java', 'PHP', 'VB.NET', 'C#', 'JavaScript', 'JavaScript', 'Python', 'PHP', 'Python',
- 'JavaScript', 'Python', 'Python', 'Java', 'Java'
- ]
- lenguajes_programacion_contador = Counter(lenguajes_programacion)
- top_3_lenguajes_programacion = lenguajes_programacion_contador.most_common(3)
- print(top_3_lenguajes_programacion)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement