vadim_sharaf

Untitled

Sep 22nd, 2021
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. with open ('24-j3.txt') as f:
  2.     s = f.readline()
  3. s = s.replace('TIK', ' ').replace('TOK', ' ')
  4. print(s.count(' '))
Advertisement
Add Comment
Please, Sign In to add comment