title: Counting Letter Frequency in a String (Python)
body: <p>I am trying to count the occurrences of each letter of a word</p>
  <pre><code>word = input(&quot;Enter a word&quot;)
  
  Alphabet=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
  
  for i in range(0,26):
      print(word.count(Alphabet[i]))
  </code></pre>
  <p>This currently outputs the number of times each letter occurs including the ones that don't.</p>
  <p>How do I list the letters vertically with the frequency alongside it, e.g., like the following?</p>
  <p>word=&quot;Hello&quot;</p>
  <p>H 1</p>
  <p>E 1</p>
  <p>L  2</p>
  <p>O  1</p>