2 lines
92 B
Perl
2 lines
92 B
Perl
while (<>) { $cnt{lc chop}++ while length }
|
|
print "$_: ", $cnt{$_}//0, "\n" for 'a' .. 'z';
|