Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
  2. c = 0
  3. for i in message:
  4. a=0
  5. for a in range(len(message) + 1):
  6. if i == message[a]:
  7. c+=1
  8. print(str(i)+ ' comes ' + str(c) + ' times.')
  9. c=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement