Advertisement
maxim_shlyahtin

Задача 3

Oct 9th, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. s = input()
  2. a = input()
  3. count = 0
  4. for i in range(len(s)):
  5. if a == s[i]:
  6. count += 1
  7. print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement