PySchool- List (Topic 6-22)
<p>I am a beginner in python and i am trying to solve some questions about lists.  I got stuck on one problem and I am not able to solve it:</p>

<p>"Write a function countLetters(word) that takes in a word as argument and returns a list that counts the number of times each letter appears. The letters must be sorted in alphabetical order. </p>

<p>Ex:</p>

<blockquote>
  <p>countLetters('google')</p>
</blockquote>

<pre><code>[('e', 1), ('g', 2), ('l', 1), ('o', 2)]
</code></pre>

<p>"
I am not able to count the occurences of every character.  For sorting I am using sorted(list) and I am also using dictionary(items functions) for this format of output(tuples of list).  But I am not able to link all these things.</p>
