← Back to List

26314번: Vowel Count ↗

Solutions

Python 3
136 B | 136 chars
for i in range(int(input())):
  s = input()
  c = sum([s.count(i) for i in "aeiou"])
  print(s)
  print(1 if c * 2 > len(s) else 0)