Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open ('24-157.txt') as f:
- s = f.readline()
- s = s.replace('QW', 'Q W').replace('QW', 'Q W')
- print(max(map(len, s.split())))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement