Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = input()
- a = input()
- count = 0
- for i in range(len(s)):
- if a == s[i]:
- count += 1
- print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement