← Back to List
9771번: Word Searching ↗
Solutions
Python 3
119 B | 119 chars
o = input() ans = 0 while(1): try: s = input() except: break ans += s.count(o) print(ans)