SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- s,t = input(), input()
- k = len(t)
- n = 0
- for i in range(0, len(s)-k+1):
- if s[i:i+k] == t:
- n += 1
- print(n)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.