Advertisement
vadim_sharaf

Untitled

Sep 22nd, 2021
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. with open ('24-j1.txt') as f:
  2.     s = f.readline()
  3. s = s.replace('КОТ', 'd').replace('К', ' ').replace('О', ' ').replace('Т', ' ')
  4. print(max(map(len, s.split())))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement