Questiion on list

SiverFish occeanlinux at linuxmail.org
Thu Jun 27 10:36:03 EDT 2002


I got the list of words now i want to calculate how many word in that
list which is the same word (insensitive case),can anyone show me how to do
it for example ls = ['abc','cd','abc','adf',abc','dwc','cd']
it will show abc = 3 ,cd = 2, adf = 1, dwc=1



More information about the Python-list mailing list