Farz0l1x

Untitled

Feb 24th, 2024
770
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. file = open()
  2. Max = 0
  3. A = file.readlines()
  4. A = A.replace('T', ' ')
  5. A = A.replace('U', ' ')
  6. A.split()
  7. for elem in A:
  8.     if 'VWXYZ' in elem:
  9.         Max = max(len(elem), Max)
  10. print(Max)
Advertisement
Add Comment
Please, Sign In to add comment