My code:

```
name=input("Enter name:")
print("Frequency of letters:",dict((letter,name.count(letter)) for letter in set(name)))

```

But this prints the output in dict format.
But I want my output like this:

```
Frequency of letters: b-2,o-1

```

How to make my code to print in this format. Please do help and show the change in code. Thanks in advance.