Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
136 B
4
Indexable
Never

from collections import Counter

counts = Counter(file)

for digit, count in counts.items():
    print("cyfra:",digit, "ilosc:", count)