Advertisement
ForestFox

Untitled

May 2nd, 2021
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. f = open('24-s1.txt')
  2. s = f.readlines()
  3. k=0
  4. for i in s:
  5. if i.count('J') > i.count('E'):
  6. k += 1
  7. print(k)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement