Can any body help me
John Salerno
johnjsal at NOSPAMgmail.com
Fri May 26 10:11:46 EDT 2006
Fredrik Lundh wrote:
> Sidd wrote:
>
>> 1.Given a test file containing lines of words such as (abc, abb,
>> abd,abb, etc), write a script that prints, in order of frequency, how
>> many times each word appears in the file.
>>
>> Use dictionary datastructure in python and simple if-else statement.
>> Its simple give it a try.
>
> so what are you waiting for? ;-)
>
> (don't you think asking a mailing list for help with homework might be
> considered cheating?
I don't mind when people post their homework assignments, because it
gives me some little projects to work on. :)
(On my own, of course!)
More information about the Python-list
mailing list