← Back to List
12780번: 원피스 ↗
Solutions
Python 3
108 B | 108 chars
a=input() b=input() c=0 for i in range(0,len(a)-len(b)+1): if b == a[i:i+len(b)]: c+=1 print(c)