Advertisement
ForestFox

Untitled

May 2nd, 2021
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1. f = open('24-J5.txt')
  2. s = f.readline()
  3. print(s.count('OCK')-s.count('STOCK'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement