Advertisement
Farz0l1x

Untitled

Mar 27th, 2024
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. file = open('16.txt')
  2. s = file.readline()
  3. s = s.replace('CSGO', '****').replace('PC', '**')
  4. for i in range(len(s)):
  5.     if s[i] != '*':
  6.         s = s.replace(s[i], ' ')
  7. s = s.split()
  8. print(len(max(s, key = len)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement