Learning Python via a little word frequency program

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Thu Jan 10 03:41:28 EST 2008


MRAB a écrit :
> On Jan 9, 12:19 pm, Bruno Desthuilliers <bruno.
> 42.desthuilli... at wtf.websiteburo.oops.com> wrote:
(snip)
> That actually prints:
> 
> kevin      : 3
> fred       : 2
> jock       : 2
> andrew     : 1
> bill       : 1
> freddy     : 1
> 
> It says that "fred" occurs twice because of "freddy".

oops ! My bad, didn't spot that one :(

Thanks for pointing this out.



More information about the Python-list mailing list