Posts by Rof • 9 points
1 post
-
-1
votes2
answers82
viewsQ: Print letters that are outside of Collections. Counter
I made a code that returns the character recurrence of a file. from collections import Counter with open('hino.txt', 'r', encoding='utf8') as f: conteudo = f.read() counter = Counter(conteudo)…