Monday, April 16, 2012

Have a list, need to see which number is the biggest

I have a text in python,and I need to check which letter is starting in the words the most,and how many times did it happen...
I know how to do it, and using the max function I can see which letter have been used the most(I'm having a counnter for the 26 letters in the A B C), though I cant know which letter is it...
is there a way to see the place of the max number in the list?
(using the max function, for ex. max(list))...
Thanks...





No comments:

Post a Comment