Counting repeated characters in a string in Python
<p>I want to count the number of times each character is repeated in a string. Is there any particular way to do it apart from comparing each character of the string from A-Z
and incrementing a counter?</p>

<p><strong>Update</strong> (in reference to <a href="http://stackoverflow.com/questions/991350/counting-repeated-characters-in-a-string-in-python/991372#991372">Anthony's answer</a>): Whatever you have suggested till now I have to write 26 times. Is there an easier way?</p>
