title: How to find how many times each letter appears in a name?
body: <p>My code:</p>
  
  <pre><code>name=input("Enter name:")
  print("Frequency of letters:",dict((letter,name.count(letter)) for letter in set(name)))
  </code></pre>
  
  <p>But this prints the output in dict format.
  But I want my output like this:</p>
  
  <pre><code>Frequency of letters: b-2,o-1
  </code></pre>
  
  <p>How to make my code to print in this format. Please do help and show the  change in code. Thanks in advance.</p>