Advertisement
alext6453

Untitled

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