Guest User

Untitled

a guest
May 25th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. print("Please enter the text : ")
  2. message = input()
  3. count = {}
  4. for i in message:
  5. count.setdefault(i,0)
  6. count[i] = count[i] + 1
  7.  
  8. print(count)
Add Comment
Please, Sign In to add comment