Guest User

Untitled

a guest
Feb 11th, 2019
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | None | 0 0
  1. n = int(input())
  2. lineCount = 0
  3. line = []
  4. tTotal = 0
  5. sTotal = 0
  6.  
  7. while lineCount < n:
  8.     line.append(str(input()))
  9.     t = line[lineCount].count('t') + line[lineCount].count('T')
  10.     tTotal += t
  11.     s = line[lineCount].count('s') + line[lineCount].count('S')
  12.     sTotal += s
  13.     lineCount += 1
  14.  
  15. if tTotal > sTotal:
  16.     print("English")
  17. else:
  18.     print("French")
Add Comment
Please, Sign In to add comment