Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
- c = 0
- for i in message:
- a=0
- for a in range(len(message) + 1):
- if i == message[a]:
- c+=1
- print(str(i)+ ' comes ' + str(c) + ' times.')
- c=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement