Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from __future__ import print_function
- def count():
- count_chars = ".arPZ"
- string = "Phillip S. is doing a really good job."
- print(*(string.count(d) for d in count_chars), sep='\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement