HELP Newbie solve this Problem

race9047 at my-deja.com race9047 at my-deja.com
Thu Mar 23 22:43:38 EST 2000


Here is the Problem.
On the main directory there is a file called “data?”
The “data?” file is the preamble to the constitution.
The objective is to write a command that will give a list of how many
times the letters appear in the preamble. Try not to use awk.
Only letters, no spaces, and lower case.
The list can look like this:
7 a
12 b
16 c
. . .
3 z
But the real challenge is to invert the list to look like this:
a 7
b 12
c 16
. . .
z 3


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list