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!) -- http://mail.python.org/mailman/listinfo/python-list